I need to create a macro that will connect a network drive when I am using MSWORD. I have been testing with the wdDialogConnect box but the problem is that I need to assign the drive letter in my code rather than choosing it from a dialog box. I've tried this code, but it will not allow me to assign the drive letter.
With Dialogs(wdDialogConnect)
.drive = "B"
.Path = "\\qmma400\data"
.Show
End With
cramd
With Dialogs(wdDialogConnect)
.drive = "B"
.Path = "\\qmma400\data"
.Show
End With
cramd