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
Microsoft Office

Avatar of undefined
Last Comment
JohnRobinAllen

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rgonzo1971

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
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.
     j.r.a.
ASKER
JohnRobinAllen

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
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy