S
Sasa
I have problem with creating new style into my macro.
When I try it, Word told me that requested member of
collection does not exist. Please tell me where is mistake.
Here is my code:
Dim NewStyle As Style
Set NewStyle = ActiveDocument.Styles("Normal + Courier _
New, 18 pt, Bold, Custom Color(RGB(0,51,255))")
For Each NewStyle In ActiveDocument.Styles
..
..
..
..
Next
Thank you.
Sasa
When I try it, Word told me that requested member of
collection does not exist. Please tell me where is mistake.
Here is my code:
Dim NewStyle As Style
Set NewStyle = ActiveDocument.Styles("Normal + Courier _
New, 18 pt, Bold, Custom Color(RGB(0,51,255))")
For Each NewStyle In ActiveDocument.Styles
..
..
..
..
Next
Thank you.
Sasa