T
Todd Huttenstine
What is the code to refresh a database query? I have a
database query located in columns AD:AJ.
Below is what I got when I did a macro. Just want to make
sure this is the proper way to programmaticaly do it. I
selected a random cell that contains part of query and
then right clicked and hit refresh while running the
macro. The code is below...
Range("AD335").Select
Selection.QueryTable.Refresh BackgroundQuery:=False
Are there other better ways to do it?
Thank you
Todd Huttenstine
database query located in columns AD:AJ.
Below is what I got when I did a macro. Just want to make
sure this is the proper way to programmaticaly do it. I
selected a random cell that contains part of query and
then right clicked and hit refresh while running the
macro. The code is below...
Range("AD335").Select
Selection.QueryTable.Refresh BackgroundQuery:=False
Are there other better ways to do it?
Thank you
Todd Huttenstine