I
Ian B.
I'm making a macro to switch do a presentation of some work in Excel, the
charts being shown change each time there is a recalculation as random data
is relied upon. I can't figure out how to change the worksheet though in
the macro, maybe I'm just missing something. The rest of the macro I
managed to make just from the VB help file. Any ideas? Just to indicate
what I'm trying to do I've included my code thus far below.
TIA,
Ian
---
Sub MacroX()
Application.DisplayFullScreen = True
a = 0
Do
Calculate
Application.Wait (Now + TimeValue("0:00:10"))
a = a + 1
Loop Until a = 5
***Switch Workdsheet Wanted Here***
a = 0
Do
Calculate
Application.Wait (Now + TimeValue("0:00:10"))
a = a + 1
Loop Until a = 5
End Sub
---
charts being shown change each time there is a recalculation as random data
is relied upon. I can't figure out how to change the worksheet though in
the macro, maybe I'm just missing something. The rest of the macro I
managed to make just from the VB help file. Any ideas? Just to indicate
what I'm trying to do I've included my code thus far below.
TIA,
Ian
---
Sub MacroX()
Application.DisplayFullScreen = True
a = 0
Do
Calculate
Application.Wait (Now + TimeValue("0:00:10"))
a = a + 1
Loop Until a = 5
***Switch Workdsheet Wanted Here***
a = 0
Do
Calculate
Application.Wait (Now + TimeValue("0:00:10"))
a = a + 1
Loop Until a = 5
End Sub
---