View Single Post
 
Old 05-10-2021, 06:03 AM
kyssling kyssling is offline Windows 7 64bit Office 2010
Novice
 
Join Date: May 2021
Posts: 1
kyssling is on a distinguished road
Default Simple FormTextBox question

Hello, can anyone help me with following problem ?

I want add form field to Word, which will have content "Name Surname"
will be displayed before filling in.
After clicking in this field, content will be deleted and cursor will appear.

I can add "Form Text Box" with the default text, but now I have issue:

Settings Macro When Entering to FormTextBox : ActiveDocument.FormFields(2).Result = ""
I lock the document only for editing form fields.
I have a problem that this macro runs automatically when I open Word (even if the field is not entered). FormFields(2) because first field is drop-down box.
Thanks for the help !
Attached Files
File Type: docm TestEn.docm (20.8 KB, 7 views)
Reply With Quote