Quote:
Originally Posted by slaycock
Microsoft in their normal cack-handed way have updated the default styles provided in the Normal template but have not extended the wdStyleBuiltin enumeration to match. Thus you can replace 'Comment text' with wdStyleCommentText but you cannot replace and 'Balloon Text' with the (predicted) constant wdStyleBalloonText.
Code:
With .Styles(wdStyleBallonText).Font <- Error 'The requested memeber of the collection does not exist'
|
You'd even get that error if the name wasn't misspelled (wdStyleBall
oonText)
FWIW a list of Word constants is available at:
https://msdn.microsoft.com/en-us/lib...or=-2147217396