P
philr
RE: Word 2003
I’ve created several bookmarks for my Word UserForm. When I create a new
document based on my template, my dialog box opens asks for patientName,
PatientID, clinicDate. On command it fills in the corresponding bookmarks
correctly.
I want to use these same fields such that on saving the document it uses
these 3 same fields (concatenated) as the file name to be stored at a remote
site. (The remote site remains constant and is located on the Save As dialog
box.)
I would like to do this as a macro and assign it to a key-combination. I
don’t know how to place these bookmark values into the file name box of the
Save As dialog box. (Name, ID, and Date change with each file.)
Related Question: I know it’s bad practice but I would like to encrypt the
file just before saving it using the macro. The macro for this works fine,
but the template obviously exposes the encryption password. Can I encrypt
the template?
Thank you,
Phil
I’ve created several bookmarks for my Word UserForm. When I create a new
document based on my template, my dialog box opens asks for patientName,
PatientID, clinicDate. On command it fills in the corresponding bookmarks
correctly.
I want to use these same fields such that on saving the document it uses
these 3 same fields (concatenated) as the file name to be stored at a remote
site. (The remote site remains constant and is located on the Save As dialog
box.)
I would like to do this as a macro and assign it to a key-combination. I
don’t know how to place these bookmark values into the file name box of the
Save As dialog box. (Name, ID, and Date change with each file.)
Related Question: I know it’s bad practice but I would like to encrypt the
file just before saving it using the macro. The macro for this works fine,
but the template obviously exposes the encryption password. Can I encrypt
the template?
Thank you,
Phil