View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
David David is offline
external usenet poster
 
Posts: 1,560
Default Auto Execute Macro

Hi,

What or maybe where is the database that you are querying? Take a look at
Data/Import External Data/, then it will depend on your source for a refresh.
I think you can use the recorder to initial and do a refresh and then have it
available. All of my queries are web based at this point, so that is all I
can test.

David

"dennis" wrote:

I'm looking to create a macro ( preferably using the macro recorder rather
than by VB code) that will refresh my database query upon opening the
worksheet.

Is this possible or just a pipe dream. I'm not adept at VB coding so that's
why the preference for the macro recorder.

Thanks in advance for any help, hints, or clues.

dennisd