Link to home
Create AccountLog in
Avatar of JohnRobinAllen
JohnRobinAllenFlag for Canada

asked on

Add shadows quickly to pictures in Publisher

I work with MS Publisher and am familiar with VBA. Every time I put an image into a Publisher document, I want to add “shadow effects” to it. That requires me to select shadows to the right and bottom of the image, as if a light were shining on the picture from above left. A second step is to specify the colour of the shadow. Those are all automatic actions that I do manually.

     Is there any way I can set a default shadow position and colour or else use VBA to have Publisher add the shadows in the right place and colour automatically? I suspect that Publisher does not work with VBA, so that may be out of the question. A solution would save me only about fifteen or twenty seconds for each picture, but since I have to do it hundreds of times a week, the time saved would add up.

     Thanks for any suggestions. I fear the problem may be insolvable, yet I’m optimistic that someone far away from the Rocky Mountains and more experienced than I could solve my query in a trice.

             JRA in Alberta
Avatar of Rgonzo1971

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of JohnRobinAllen


I have not had time these past three days to test the solution, but I am sure it will work beautifully. If by chance I have any problems when I can get to it, I'll post any queries here or as a separate question.
     Thanks for your help.
I finally tested the above solution in Publisher and unfortunately it hung up on the word "ActiveDocument". I guess that term refers to Word documents. Could Rgonzo1971 or anyone else tell me what the equivalent word in Publisher would make the routine work?
     If you prefer me to pose the above in a new question, I would be happy to do so. It is just that anyone searching for a solution on how to add shadows to images in Publisher would then not see the corrected routine.
    Thanks for any help.
     JRA in Priddis