S
steve p
I made a series of command buttons on a Master Slide, each linked to VBA that
lets me change to various pen colors or change to an eraser during a slide
show just by clicking on the button (useful for annotating slides during a
presentation with a Wacom Cintiq monitor).
e.g. change to a red pen:
Dim View As SlideShowView
Set View = ActivePresentation.SlideShowWindow.View
With View
.PointerColor.RGB = RGB(255, 0, 0) 'Red
.PointerType = ppSlideShowPointerPen
End With
End Sub
e.g. change to an eraser:
Private Sub CommandButton6_Click()
Dim View As SlideShowView
Set View = ActivePresentation.SlideShowWindow.View
With View
.PointerType = ppSlideShowPointerEraser
End With
End Sub
This worked fine with previous versions of Powerpoint, but I have a problem
with PowerPoint 2007 (seen with both Vista and XP). The buttons themselves
work fine, in that during a slide show clicking on the "red" one changes to a
red pen, clicking the "eraser" button changes it to an eraser, etc. However,
with PowerPoint 2007, immediately after clicking any of my custom buttons the
keyboard is now inactivated, as if it has gone into kiosk mode. No key does
anything, meaning that I can’t advance to the next slide or go back to the
previous slide using the arrow keys, the return key doesn’t advance to the
next slide, and ctrl-A or ctrl-P doesn’t change the cursor to a pen or arrow.
If I move the cursor to the left or right arrow at the lower left of the
slide I can advance to the next slide or go back a slide (as if it were in
kiosk mode), and this reactivates the keyboard. But if I click on another of
my command buttons the keyboard is inactivated again.
I tried putting the following at the end of the VBA for one of my buttons:
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeWindow
End With
to force it out of Kiosk mode if for some reason it had gone into kiosk, but
that didn't have any effect.
Does anyone have any idea how to get the keyboard to reactivate?
lets me change to various pen colors or change to an eraser during a slide
show just by clicking on the button (useful for annotating slides during a
presentation with a Wacom Cintiq monitor).
e.g. change to a red pen:
Dim View As SlideShowView
Set View = ActivePresentation.SlideShowWindow.View
With View
.PointerColor.RGB = RGB(255, 0, 0) 'Red
.PointerType = ppSlideShowPointerPen
End With
End Sub
e.g. change to an eraser:
Private Sub CommandButton6_Click()
Dim View As SlideShowView
Set View = ActivePresentation.SlideShowWindow.View
With View
.PointerType = ppSlideShowPointerEraser
End With
End Sub
This worked fine with previous versions of Powerpoint, but I have a problem
with PowerPoint 2007 (seen with both Vista and XP). The buttons themselves
work fine, in that during a slide show clicking on the "red" one changes to a
red pen, clicking the "eraser" button changes it to an eraser, etc. However,
with PowerPoint 2007, immediately after clicking any of my custom buttons the
keyboard is now inactivated, as if it has gone into kiosk mode. No key does
anything, meaning that I can’t advance to the next slide or go back to the
previous slide using the arrow keys, the return key doesn’t advance to the
next slide, and ctrl-A or ctrl-P doesn’t change the cursor to a pen or arrow.
If I move the cursor to the left or right arrow at the lower left of the
slide I can advance to the next slide or go back a slide (as if it were in
kiosk mode), and this reactivates the keyboard. But if I click on another of
my command buttons the keyboard is inactivated again.
I tried putting the following at the end of the VBA for one of my buttons:
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeWindow
End With
to force it out of Kiosk mode if for some reason it had gone into kiosk, but
that didn't have any effect.
Does anyone have any idea how to get the keyboard to reactivate?