vaughn9
Technical User
- Sep 23, 2001
- 183
I am using the code below to open a file from a vb command button. But now I need a command button to navigate to a folder so that that user can open the folder and select the file he wants. For eg. if I had a folder called Semetric on my server when the user click the vb button I need the user to be able to see the folder. What code should I use for this.
Dim wdApp As Word.Application
Set wdApp = New Word.Application
wdApp.Visible = True
wdApp.WindowState = wdWindowStateMaximize
wdApp.Documents.Open FileName:="\\server\Multilanguage.doc ", _ ConfirmConversions:= _
False, ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
WritePasswordTemplate:="", Format:=wdOpenFormatAuto
Dim wdApp As Word.Application
Set wdApp = New Word.Application
wdApp.Visible = True
wdApp.WindowState = wdWindowStateMaximize
wdApp.Documents.Open FileName:="\\server\Multilanguage.doc ", _ ConfirmConversions:= _
False, ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
WritePasswordTemplate:="", Format:=wdOpenFormatAuto