Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Path changes affecting external data query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony - 30 Jan 2007 21:25 GMT
I have an access database and an excel file (for the publication of various
outputs of the database) which I update via external data query. Both of
these files live on a datastick for portability. The issue I have is that the
drive letter is different from one PC to another and manual editing of the
SQL in excel is required to simply change the drive letter from E to F or
whatever.
Is there a way to get around this?
I have tried to remove the drive letter altogether thinking that perhaps
excel will look in the files home directory first for the DB but this doesnt
work.

TIA
Tony
CLR - 31 Jan 2007 16:11 GMT
This formula, put in a helper cell in your Excel workbook, will return the
drive letter with colon and backslash..........perhaps you could use it to
feed your Query........

=LEFT(CELL("filename",A1),3)

hth
Vaya con Dios,
Chuck, CABGx3

> I have an access database and an excel file (for the publication of various
> outputs of the database) which I update via external data query. Both of
[quoted text clipped - 9 lines]
> TIA
> Tony

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.