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.StyleoStyle = Application.ActiveDocument.Styles.Add("temp")oStyle = Application.ActiveDocument.Styles("temp")oStyle.Type = Word.WdStyleType.wdStyleTypeCharacter <<------------- This is giving me error ! ! !