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.
[blue]Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
Selection.Find.Style = ActiveDocument.Styles("Heading 1")
With Selection.Find
.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
End With
Selection.Find.Execute
ActiveDocument.SaveAs Left(Selection.Text, Len(Selection.Text) - 1)[/blue]
[blue]If Left(Selection.Text,1) = "G" Then
[green]' Do stuff with "G" Heading[/green]
Else
[green]' Do stuff with "B" Heading[/green]
End If[/blue]