S
Steve C
I am trying to write some code in Word where upon opening a certain template,
the user is prompted with an InputBox asking for his/her Windows login name,
such as "jsmith". I then want the user name to become part of a file path in
another line of code, as in the following example:
Dim MyName As String
MyName = InputBox ("Please enter your user name")
....Destination:= "C:\Documents and Settings\MyName\Application
Data\Microsoft\Templates\Normal.dot"
How do I write the file path so that MyName becomes part of the file path?
Thanks!
Steve C
the user is prompted with an InputBox asking for his/her Windows login name,
such as "jsmith". I then want the user name to become part of a file path in
another line of code, as in the following example:
Dim MyName As String
MyName = InputBox ("Please enter your user name")
....Destination:= "C:\Documents and Settings\MyName\Application
Data\Microsoft\Templates\Normal.dot"
How do I write the file path so that MyName becomes part of the file path?
Thanks!
Steve C