#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Query Refresh

I currently have a workbook that has several Query Tables in it. I currently
have a macro to "refreshall" but my problem is that occasionally the file
name may change causing an error in the refresh process. Is there a way to
include a procedure in code that if the filename in the query no longer
exist, it could prompt for the correct filename? In my existing macro I have
a section for inserting new queries & it prompts for the filename but I'm not
sure how to code on a refresh error to prompt for a filename.

Any help would be greatly appreciated.
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
Query refresh Dave K Excel Discussion (Misc queries) 4 November 26th 07 09:47 PM
How can I 'Enable Automatic Refresh' for Query Refresh by default Anand Deshpande Setting up and Configuration of Excel 0 December 10th 06 04:47 AM
Losing query after refresh bizopsaz Excel Discussion (Misc queries) 0 October 3rd 06 09:56 PM
Query parameter "refresh when value changes" doesn't refresh - why Texas_Toast Excel Discussion (Misc queries) 0 January 4th 06 03:32 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 02:32 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"