#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Automatic Refresh

I have created a template that has drop down lists. These lists are external
data sets from a SQL database. When I protest the worksheet it does not
allow the refresh.

Second, is there a way for the refresh to be done without the user being
prompted?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Automatic Refresh

You could assign a macro to the Workbook_Open event in the Excel file that
uprotected the worksheets, refreshes the data links and then reprotects the
file.

If you're using MS Query to query your database you can save the query and
have it update on open automatcally, but you might have to unprotect the
worksheet first.
--
Kevin Backmann


"Jim" wrote:

I have created a template that has drop down lists. These lists are external
data sets from a SQL database. When I protest the worksheet it does not
allow the refresh.

Second, is there a way for the refresh to be done without the user being
prompted?

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
Automatic Query Refresh Dean Excel Discussion (Misc queries) 4 March 15th 06 09:06 AM
enable automatic refresh Vass Excel Worksheet Functions 2 March 11th 06 04:36 AM
2003 Automatic Query Refresh Dean Setting up and Configuration of Excel 0 March 10th 06 11:32 AM
How to Diable automatic query refresh? Karthik Murugesan Setting up and Configuration of Excel 0 October 21st 05 12:09 PM
Query Refresh-Enable Automatic Refresh Dialogue Box Terri Excel Discussion (Misc queries) 0 May 6th 05 08:21 PM


All times are GMT +1. The time now is 01:23 PM.

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"