Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub ChangeHeading2()
'change already selected text to Heading 2
Selection.Style = ActiveDocument.Styles("Heading 2")
End Sub
Sub test()
Select Case Selection.Style
Case "Heading 2"
Selection.Style = ActiveDocument.Styles("Heading 3")
Case "Heading 3"
Selection.Style = ActiveDocument.Styles("Normal")
Case Else
Selection.Style = ActiveDocument.Styles("Heading 2")
End Select
End Sub