I want to create a template file in which I want to create my own styles programatically(in VBA)
I have following code
Sub Style() Dim myStyle As Style Set myStyle = ActiveDocument.Styles.Add(Name:="Abbreviations", _ Type:=wdStyleTypeParagraph) With myStyle.Font .Name = "Calibri" .Size = 12 .Color = wdColorBlue End With Selection.Range.Style = "Abbreviations"
but i cant set properties like style Automatically update, based on and space after... before
please help me
thanks in advance