Sam
2007-01-03 02:16:20 UTC
I have a macro that will create a new configuration for all documents
in a selected folder but the only way I can get it to work is to "hard
code" the configuration name by putting the configuration name directly
into the code. I would like to change this so that the user can input
the new configuration name into a text box and then assign that value
to a variable that is in turn referenced in the code so that the user
can define the configuration name at run time rather than having to
edit the code to enter the configuration name. I can create the form,
text box and label my problem appears to be with the code.
Does anyone have a simpe macro they can share that includes an example
of how to accept input from a text box?
Thanks
Sam
in a selected folder but the only way I can get it to work is to "hard
code" the configuration name by putting the configuration name directly
into the code. I would like to change this so that the user can input
the new configuration name into a text box and then assign that value
to a variable that is in turn referenced in the code so that the user
can define the configuration name at run time rather than having to
edit the code to enter the configuration name. I can create the form,
text box and label my problem appears to be with the code.
Does anyone have a simpe macro they can share that includes an example
of how to accept input from a text box?
Thanks
Sam