Macro to save a file with the name of text from an ASK field

M

mr_samuel

I am trying to create a macro to save the current document with a
variable filename, which will be in a ASK field.
When the document opens, the macro I have now opens dialogue box to
update all 5 of the ASK fields for the user to input data, then when a
button is clicked it prints to a specified printer. What I need now is
the ability to save the document in the name of the text that is in of
the ASK fields (not a bookmark).

Any ideas?
 
D

Doug Robbins - Word MVP

I would suggest that instead of using ASK fields, let the user enter all of
the data at once by using a UserForm.

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top