Skip navigation
Currently Being Moderated

Adding Graphic Styles using VBA

Apr 7, 2012 4:35 PM

Tags: #vba #styles #apply #graphic #graphic_styles #pathitem

Hi all

 

How would I go about applying graphic styles to a path using VBA? I would imagine the following line is wrong because it doesn't work.Any help would be appreciated.

 

idoc.GraphicStyles("02-S").ApplyTo (isquare2)

 
Replies
  • Currently Being Moderated
    Apr 7, 2012 6:44 PM   in reply to duhwellhuh

    do you get Object doesn't support this property or method (Error 438) ?

     

    try to figure it out, post back if you need help, it's no fun if I give you all the answers, right?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2012 8:29 PM   in reply to duhwellhuh

    bingo!! I'll give you an A on that one, it was not easy to spot.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)