macro to add fill to a shape

Hi all,

Just got Office 2013 a week ago and besides the weird typing issue - which I've corrected, the ribbon shouting at me - which I've corrected and the enormous lack of color issue (daily headaches and extreme eyestrain) which I'd love to have corrected, I do like it, however, when IT swapped out 2010 for 2013 some of my macros disappeared.  So I am now trying to re-create my most often used macros and have had some success so far, however, I can not seem to re-create my macro to change the fill color of a shape.  Our company uses specific colors for our new branding, so when a report is prepared using a chart, the company wants the colors to coincide with our branding colors.  But as you all know, if you aren't using the proper theme, you get the default colors.  So, it is my job as the editor to change those colors to our company's colors.  I created a macro in Word 2010 that did this beautifully, but I can't seem to get it to work in 2013.  And, I can't remember what I wrote to code it.  Can anyone help?  If someone can get me started, I can change the RGB to the proper colors.  Thanks all.

Answer
Answer

Is this an inline shape or a floating shape... meaning does it have wrapping text or not. I was assuming you were working with a floating shape.

For inline shapes use

ActiveDocument.InlineShapes(1)...

________________________________
Richard V. Michaels
info@greatcirclelearning.com
Provides productivity add-ins for Learning & Education professionals.
Site: greatcirclelearning.com

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 5, 2021 Views 230 Applies to: