I am writing Access Database, which previews HTML code in Word. Here is the code I am using:
Set wordapp = CreateObject("word.Application")
wordapp.Documents.Open FileName:="C:\ECEditor\prvWin.html", ReadOnly:=True
wordapp.Visible = True
When I open the file, I would like to disable (or not display) the ribbon, so that the user knows that it is only meant for preview.
Is there such switch/parameter?