09-22-2017
10:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-22-2017
10:03 AM
Thanks for the info but I need this in VBA format. I was thinking it would be easy as:
Sub main()
Dim oPDoc as PartDocument
Set oPDoc = ThisApplication.ActiveDocument
oPDoc.ActiveAppearance = "My Appearance" 'this is where I need help. how do you set the appearance using the name?
End sub
the syntax I know is wrong for setting the appearance. What is the correct syntax? (assuming appearance exists and does not need to be created, although that bit of code would be nice too)