N
Neil Smith
I have defined a VB macro in PowerPoint 2000 to draw
objects. I have assigned the macro to an object using the
object's action settings (right mouse click), and click
the object during a slide show. The VB message appears but
none of the other code has any visible effect. The marco
executes OK in edit mode.
MsgBox "Test"
ActiveWindow.Selection.SlideRange.Shapes.AddLabel
(msoTextOrientationHorizontal, 268.75, 468.875, 14.5,
24#).Select
ActiveWindow.Selection.ShapeRange.TextFrame.WordWrap =
msoFalse
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Chara
cters(Start:=1, Length:=0).Select
With ActiveWindow.Selection.TextRange
.Text = "Test"
End With
ActiveWindow.Selection.Unselect
Please can anyone help.
objects. I have assigned the macro to an object using the
object's action settings (right mouse click), and click
the object during a slide show. The VB message appears but
none of the other code has any visible effect. The marco
executes OK in edit mode.
MsgBox "Test"
ActiveWindow.Selection.SlideRange.Shapes.AddLabel
(msoTextOrientationHorizontal, 268.75, 468.875, 14.5,
24#).Select
ActiveWindow.Selection.ShapeRange.TextFrame.WordWrap =
msoFalse
ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Chara
cters(Start:=1, Length:=0).Select
With ActiveWindow.Selection.TextRange
.Text = "Test"
End With
ActiveWindow.Selection.Unselect
Please can anyone help.