I've written a routine to present the Connect Network drive dialog (for password entry)
, then open a file on that drive once the connection is made.
With Dialogs(wdDialogConnect) etc
I'd like to have Word check to see if the connection already exists...
i.e. "If drive "s" is aready mapped to \\nataol\sco, then go straight
to file open, else go to DialogConnect statement. I just
can't get my head around how to phrase it.
Also, once the editing is complete (which is carried out in the macro)
I'd maybe like the drive to disconnect - not essential, would be nice though
Is there code for this?