Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Refresh External Data code

Every time I open a file that brings external data, it gives me a pop-up
message asking if I want to enable or disable refresh. I need have some code
that once the file opens, refreshes the external data (enabled) and keep
going without stopping. Any ideas? Thanks. Tony.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 915
Default Refresh External Data code

Tony7659 wrote:
Every time I open a file that brings external data, it gives me a pop-up
message asking if I want to enable or disable refresh. I need have some code
that once the file opens, refreshes the external data (enabled) and keep
going without stopping. Any ideas? Thanks. Tony.


I would say...

Try using the Link manager to tell the workbook to always refresh linked
data without prompting. In Excel 2003 this is done in Edit | Links... |
Startup Prompt...

This property can also be set in code:

ActiveWorkbook.UpdateLinks = xlUpdateLinksAlways

But then again...

This doesn't always work for me. In some workbooks where I have set "no
alert, update links", I get prompted anyway. It's as though sometimes
the setting is completely ignored. I always have macro security on "low"
FWIW.
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
External data refresh Texas Tonie[_2_] Excel Discussion (Misc queries) 1 April 17th 07 11:02 AM
Refresh external data [email protected] Excel Programming 1 May 5th 06 12:43 PM
external data refresh shoreguy Excel Discussion (Misc queries) 0 March 7th 06 06:30 PM
Automatic refresh of external data Keith Streich Links and Linking in Excel 2 March 10th 05 01:49 PM
Run Macro on External Data Refresh John Witte Excel Programming 3 December 3rd 03 01:42 PM


All times are GMT +1. The time now is 11:41 AM.

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

About Us

"It's about Microsoft Excel"