Cant run macros

R

realmichaud

I have a macro

Sub MakeGreen(oShp As Shape)
oShp.Fill.ForeColor.RGB = vbGreen
End Sub

but the run macro dialoge box does not even see it. i have created it from
the create macro, then filled in the rest of the code

does anyone know what I am doing wrong?
 
J

John Wilson

That macro (with a variable declaration) will only work in slide show mode
when you click on a shape. Give a shape (or more than one) an action of run
macro and run the slide show - it will work then!

Hope that helps

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top