LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Updating spreadsheet links from VBA

I'm not sure if this is a Excel question or an Access question.

I have a spreadsheet (call it "A") that links to data from several
different spreadsheets. I have an Access database links to worksheets in
"A", and some queries run from VBA that use linked tables.

So when I run the VBA, it runs queries that refer to the linked tables,
which in turn refers to the spreadsheet "A" which has links to other
spreadsheets.

The problem is getting the spreadsheet "A" to update its links to the other
spreadsheets. Currently, I manually open the spreadsheet, it prompts me if
I want to update the links, I answer "Yes", the links get updated, and then
I close "A" and run the macro.

What I would like to do is from Access VBA, open "A", cause all the links
to be updated and then close the spreadsheet. How do I do that?

amorphous
 
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
#VALUE! when updating links [email protected] Excel Discussion (Misc queries) 1 November 27th 07 02:31 PM
Updating links in a spreadsheet [email protected] Excel Programming 0 August 13th 07 09:26 PM
Updating Links to a new spreadsheet TJAC Excel Discussion (Misc queries) 1 July 31st 07 04:54 PM
Links not Updating Brian Links and Linking in Excel 2 June 1st 06 03:09 PM
Updating Links Edgar Thoemmes Excel Programming 1 February 16th 04 01:30 PM


All times are GMT +1. The time now is 10:16 PM.

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"