T
Tom Conrad
I have a PPT 2003 slide show, that uses vba controls to allow the user to
dynamically change the rotation angles of two objects on a single slide,
during the presentation.
The rotation angle for one object is controlled by a spinbutton, while the
rotation angle for the second object is controlled by a spinbutton. The value
for each control is determined by two discrete subroutines, one each for the
spinbutton, and for the scrollbar. The subroutines are embedded to the slide.
Within each subroutine are identical command sequences to redraw the screen
objects at the rotation angles set by the control variables.
Since the command sequences are identical I want to compress my code by
creating a single subroutine which can be accessed by either the spinbutton
or scrollbar primary routines.
How do I create a jump, call or loop to my redraw procedure?
dynamically change the rotation angles of two objects on a single slide,
during the presentation.
The rotation angle for one object is controlled by a spinbutton, while the
rotation angle for the second object is controlled by a spinbutton. The value
for each control is determined by two discrete subroutines, one each for the
spinbutton, and for the scrollbar. The subroutines are embedded to the slide.
Within each subroutine are identical command sequences to redraw the screen
objects at the rotation angles set by the control variables.
Since the command sequences are identical I want to compress my code by
creating a single subroutine which can be accessed by either the spinbutton
or scrollbar primary routines.
How do I create a jump, call or loop to my redraw procedure?