VB Macros/Erasing pen drawings with EraseDrawing (possible bug?)

  • Thread starter Thread starter Nicholas Clark
  • Start date Start date
N

Nicholas Clark

Hi all,

I'm finishing up that macro set for a professor that I posted about a few
days ago, but there is still one snag I'm encountering. There is a command
"SlideShowWindows(1).View.EraseDrawing" that is documented as erasing all of
the pen marks in the current slideshow window, but I am having problems
making it work. In Powerpoint 2000, my primary test setup, the command works
just fine. In Powerpoint XP/2003, however, identical code does absolutely
nothing when executed.

Any thoughts on this?

-Nicholas
 
Hmm. I've never used it before so I tried it, and I got the same results
you did (i.e., nothing in 2003) even though that line of code is directly
from the Help file.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Hi all,

I'm finishing up that macro set for a professor that I posted about a few
days ago, but there is still one snag I'm encountering. There is a command
"SlideShowWindows(1).View.EraseDrawing" that is documented as erasing all of
the pen marks in the current slideshow window, but I am having problems
making it work. In Powerpoint 2000, my primary test setup, the command works
just fine. In Powerpoint XP/2003, however, identical code does absolutely
nothing when executed.

I forget what the concensus was the last time this came up but it seems that
PPT doesn't really add "ink" items to the shape collection until after the
slide show ends and you've elected to save the annotations.

Perhaps quit and restart the show at the same slide under program control?
 
Back
Top