Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shape fill properties from VBA

Status
Not open for further replies.

jaymaechtlen

Technical User
Jul 19, 2004
124
0
0
US
I'm feeling a bit dense, here.
I've inherited some drawings where the shapes have gradient fills and possibly other fancy stuff.

I want to simplify them for better performance (on my slow computer) and better reliability when embedding in Word and printing.

(Generally output by saving as EMF and putting the EMF into Word- sometimes 'funny' EMFs will result in flipped pages or other anomolies at certain printers.)

So- If I iterate through the shapes on a page, I can list or set the .fillstyle and .FillStyleKeepFmt for each shape.

Can I define fillstyles from VBA?
Any other tips/suggestions?
 
duh -
I found some info in Help -
There is sample code to create styles which may include attributes for fill, line, text, etc.

I don't yet see how to set those properties for a style.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top