K
kurt
Hello,
I need to create a macro in Word that prompts the user for the name of a
folder on a particular drive, then based on that user input, prompts the user
a second time for the name of a subfolder. For example, after I activate the
macro, I want to see a dialog box which prompts me for the folder name (maybe
2 or 3 characters.) I fill that in, then click OK, and am prompted again for
a subfolder name. I fill that in, click OK, and am brought to the folder
where I can save a file, etc.
I know how to create the dialog box. I just need code which will prompt a
user for the folder names. I'd rather the code not be an "if" statement with
either one folder or the next or the next in the elseif statements. The code
needs to open ANY folder based on user input of the folder's name.
THANKS FOR HELPING!
Kurt
I need to create a macro in Word that prompts the user for the name of a
folder on a particular drive, then based on that user input, prompts the user
a second time for the name of a subfolder. For example, after I activate the
macro, I want to see a dialog box which prompts me for the folder name (maybe
2 or 3 characters.) I fill that in, then click OK, and am prompted again for
a subfolder name. I fill that in, click OK, and am brought to the folder
where I can save a file, etc.
I know how to create the dialog box. I just need code which will prompt a
user for the folder names. I'd rather the code not be an "if" statement with
either one folder or the next or the next in the elseif statements. The code
needs to open ANY folder based on user input of the folder's name.
THANKS FOR HELPING!
Kurt