Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wdDialogConnect

Status
Not open for further replies.

cramd

Programmer
Mar 28, 2001
214
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top