I searched for this but no luck. Total noob at writing macros and VB programming.

I created a simple little macro in Powerpoint 2003 - all it does is to remove the border around an imported image - i.e., right-click -> Format Autoshape -> Line Color -> No line:

VB Code:
  1. Attribute VB_Name = "Module1"
  2. Sub Macro1()
  3. Attribute Macro1.VB_Description = "Macro recorded"
  4. '
  5. ' Macro recorded
  6. '
  7.  
  8.     ActiveWindow.Selection.SlideRange.Shapes("Rectangle 3").Select
  9.     With ActiveWindow.Selection.ShapeRange
  10.         .Fill.Transparency = 0#
  11.         .Line.Visible = msoFalse
  12.     End With
  13. End Sub

This macro works fine when executed on a slide. I'd like to change it now to have it run through all the slides in the presentation. I've been playing around with various options, reading VB help, etc., but no luck.