I have a word document with a command button. Behind this command button is some vba to select and open another file. What I want to happen is when the open file dialog box is displayed, for it to point to a specific directory. I’ve done some looking on the net around this and it seems that using .name and then the folder path should work however it doesn’t, it just opens a random directory (appears to be the last directory used).
Can anyone help get this open file dialog box to go straight to a specific folder?
Set dlg = Dialogs(wdDialogFileOpen)
.Name = "C:\test folder\"
If dlg.Display = -1 Then strPath = dlg.Name