Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Repairing link with Access file

I have a spreadsheet which gets data from an Access database. Both files were
created on a portable hard drive with drive letter H. I now have the files on
my local disk C and, of course, the spreadsheet can't find the data because
it is looking for drive H.

Is there an easy way to change the path to the target file so the
spreadsheet can find the Access file?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Repairing link with Access file

Well, the answer to that question depends on how the link was built:

1) If it's built via a macro in Access which dumps data into an Excel file,
you need to change the filepath in the Access macro.
2) If it's built via Excel's MS Query tool, you need to modify that query.

Post back with more information of the nature of the link and how it was
created and someone can be more specific.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"simonc" wrote:

I have a spreadsheet which gets data from an Access database. Both files were
created on a portable hard drive with drive letter H. I now have the files on
my local disk C and, of course, the spreadsheet can't find the data because
it is looking for drive H.

Is there an easy way to change the path to the target file so the
spreadsheet can find the Access file?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 52
Default Repairing link with Access file

I used DataGet External DataNew Database Query and navigated to the Access
file.

"Dave F" wrote:

Well, the answer to that question depends on how the link was built:

1) If it's built via a macro in Access which dumps data into an Excel file,
you need to change the filepath in the Access macro.
2) If it's built via Excel's MS Query tool, you need to modify that query.

Post back with more information of the nature of the link and how it was
created and someone can be more specific.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"simonc" wrote:

I have a spreadsheet which gets data from an Access database. Both files were
created on a portable hard drive with drive letter H. I now have the files on
my local disk C and, of course, the spreadsheet can't find the data because
it is looking for drive H.

Is there an easy way to change the path to the target file so the
spreadsheet can find the Access file?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
repairing office failed Others are working not excel ? ngauphil Excel Discussion (Misc queries) 0 March 27th 06 11:59 PM
Repairing link roots when moving worksheets mrbarnard Excel Worksheet Functions 1 January 4th 06 01:57 AM
Repairing multiple broken hyperlinks in Excel Spreadsheet silver beemer Excel Discussion (Misc queries) 1 September 12th 05 10:57 PM
Trying to link MS Access to MS Excel booris Links and Linking in Excel 1 January 20th 05 06:12 PM
Link Access query to refresh an EXCEL file Dancer4u New Users to Excel 1 January 13th 05 05:24 PM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"