Changing object fill pattern in Excel

T

theBruceGuy

I am trying to change the Legendkey object in excel from an Access database.

Everything works correctly except the line:

xlApp.ActiveChart.Legend.LegendEntries(5).LegendKey.Fill.Patterned
Pattern:=msoPatternDarkHorizontal

It appears that it doesn't like any of the mso pattern types. How can I
accomplsih the change?
 

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