Quote:
Originally Posted by Charles Kenyon
When a user clicks anywhere in a document protected for forms (other than in an active formfield) the focus moves to a page with formfields that are active.
Assuming you are using legacy form fields, you can designate a macro to run on exit from a formfield.
You can put the following in an AutoOpen and AutoNew macro in your form template:
Code:
Sub AutoOpen()
' Set macro button response to one click rather than double-click
' Macro written by Charles Kenyon based on help from Bill Coan on newsgroup
'
Options.ButtonFieldClicks = 1
'
End Sub
This makes a single click activate the macrobutton.
Making Forms with Microsoft Word
|
Thanks, I'll look into that.
According to the help files for the 'Options' object:
Quote:
Represents application and document options in Word. Many of the properties for the Options object correspond to items in the Options dialog box.
|
Is the ButtonFieldClicks an application-level setting? Do I need to reset it after my form is completed? Is this an option available in the UI?
I'm assuming there's no way to set this for the document so that it travels with the document without scripting.