Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
A.Acheson
in reply to: dleesuk

In the link to the general note text style supplied earlier there is a vba sample to add  note from scratch and set the style. Here is the link again.

https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GeneralNote_TextStyle

 

Also your not looping through general notes collection.

Instead of this

	For Each oNote In ThisDoc.Document.ActiveSheet.DrawingNotes

It should be

	For Each oNote In ThisDoc.Document.ActiveSheet.DrawingNotes.GeneralNotes

And when your setting the style you should use the variable you declared for the object

So instead of this 

GeneralNote.TextStyle = "....."

 It should be

oNote.TextStyle = '......

 

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan