View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
[email protected] davidfox789@hotmail.com is offline
external usenet poster
 
Posts: 2
Default Which runs first, Workbook_Open() or external query refresh?

Thanks guys for the replies.

After posting that message, I had an idea, why not turn off "Refresh on
open" for the data range, and instead call a refresh function right
FROM workbook_open() - that way I can refresh first, then process away.
Calling ActiveWorkbook.RefreshAll from workbook_open() seems to do the
trick.

Thanks again.
....df