I'd like to make some command buttons to use the ppt drawing tools while I'm giving a presentation without going through the slideshow menu. Here is some code I found at the microsoft site for ppt 2000 that doesn't seem to work for ppt 2007
___________________________________________________
_______________________________________________
and here is the link to MS site
Any help would be much appreciated
___________________________________________________
Code:
Private Sub CommandButton1_Click()
With SlideShowWindows(1).View
'
' Test to see if the pointer is already in pen mode.
'
If .PointerType = ppSlideShowPointerPen Then
'
' If it is, then set it to the Arrow pointer, and
' change the caption to "Change to Pen".
'
.PointerType = ppSlideShowPointerArrow
CommandButton1.Caption = "Change to Pen"
Else
'
' If it isn't the Pen pointer, then change it to the Pen
' and set the Pen color to Red. Finally, change the caption
' to "Change to Arrow".
'
.PointerType = ppSlideShowPointerPen
.PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
CommandButton1.Caption = "Change to Arrow"
End If
End With
End Sub
and here is the link to MS site
Any help would be much appreciated