Custom Layout Macro

J

Jim

I am trying write a macro to apply certain custom layouts to
Powerpoint 2007 slides. I have three custom layouts. When I run the
folllowing

msgbox ActiveWindow.Selection.SlideRange.Layout

they all come out the same number - 32

When I run the following

ActiveWindow.Selection.SlideRange.Layout = 32

The macro crashs.

Any ideas
 
Top