Skip to Content
Former Member
May 15, 2007 at 06:35 AM

Run multiple queries in workbook before vba code


Hi All,

I have a workbook with 2 queries, one on each tab that I need to run, then run some VBA code over both sheets. The issue I have is the VBA code is running after the first query finishes, not after both have finished.

Can anyone suggest a way of ensuring both queries finish before the VBA code starts?

Thanks for all assistance