Every day I open a bunch of workbooks and manually Refresh All each two times. I click Refresh All and when it's complete it's necessary for me to do Refresh All again--each refresh takes about 5 seconds. I'm trying to automate this. In VBA, when I have ActiveWorkbook.RefreshAll listed twice (as indicated below) it seems to only refresh once. And, I've tried putting Application.Wait (Now() + TimeValue("00:00:20")) in between the RefreshAll statements but that doesn't seem to help. Any assistance is greatly appreciated!!!!
VBA Code:
[QUOTE]
ActiveWorkbook.RefreshAll
ActiveWorkbook.RefreshAll
[/QUOTE]
Last edited: