H
hanjohn
Some macros that I have put together using Excel in Office for Mac 98
do not achieve the same effect when run in Excel 2004 for Mac.
I am a high school science teacher and I use these macros to
demonstrate scientific principles to students by moving excel shapes on
the screen, ie animations.
Consider this example that smoothly moves a shape, named "myshape" 100
points down the screen:
Dim myshape as shape, k as Integer
Set myshape = ActiveSheet.Shapes("myshape")
Do While k<100
myshape.IncrementTop 1
Calculate
k = k + 1
Loop
When run on PC or my old iMac (G3, OS 9.2) the named shape moves 100
points smoothly down the screen. When run on the school eMacs with
Excel 2004 the screen only shows the initial and final positions of the
shape. While the code is running the shape stays put at the initial
position and it then jumps to the final position when the Do Loop
finishes.
Application.ScreenUpdating = True makes no difference, since it is True
by default anyway.
Is there something else I can do to get my animations working on my
school's networked Macs?
do not achieve the same effect when run in Excel 2004 for Mac.
I am a high school science teacher and I use these macros to
demonstrate scientific principles to students by moving excel shapes on
the screen, ie animations.
Consider this example that smoothly moves a shape, named "myshape" 100
points down the screen:
Dim myshape as shape, k as Integer
Set myshape = ActiveSheet.Shapes("myshape")
Do While k<100
myshape.IncrementTop 1
Calculate
k = k + 1
Loop
When run on PC or my old iMac (G3, OS 9.2) the named shape moves 100
points smoothly down the screen. When run on the school eMacs with
Excel 2004 the screen only shows the initial and final positions of the
shape. While the code is running the shape stays put at the initial
position and it then jumps to the final position when the Do Loop
finishes.
Application.ScreenUpdating = True makes no difference, since it is True
by default anyway.
Is there something else I can do to get my animations working on my
school's networked Macs?