Sub OpenReadOnly(sFile As String)
Documents.Open FileName:=sFile, ReadOnly:=True
End Sub
Sub GetFile()
Dim sFile
' NOTE! This would require the user
' to type in the full path!
' There are many other (better) ways to
' do this
sFile = InputBox("Which file?")
OpenReadOnly (sFile)
End Sub