KenTan85
asked on
Set the type of Style in word (VB.NET)
Currently I am developing an addin for word. I need to set the type of a style but it is a read only property and I am unable to set it, anyone help?
Dim oStyle As Word.Style
oStyle = Application.ActiveDocument.Styles.Add("temp")
oStyle = Application.ActiveDocument.Styles("temp")
oStyle.Type = Word.WdStyleType.wdStyleTypeCharacter <<------------- This is giving me error ! ! !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.