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.
Private Sub Command1_Click()
Dim wdapp As Word.Application
Dim wsdoc As Word.Document
Dim wdrange As Word.Range
Set wdapp = New Word.Application
Set wddoc = New Word.Document
wdapp.Visible = False
Set wdrange = wddoc.Range
wdrange.InsertAfter "This is a sentence"
wddoc.SaveAs "c:\mydoc.doc"
Set wdrange = Nothing
Set wddoc = Nothing
Set wdapp = Nothing
End Sub