Share via

Enable Single-Click for Macrobutton

Anonymous
2011-08-26T20:35:15+00:00

What's the code to turn on single click for macrobuttons on locked documents?  I tried:

Sub AutoOpen()

    Options.ButtonFieldClicks = 1

End Sub

But I think I'm missing some pieces. 

Any help? 

~Dax

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
2011-08-26T21:49:46+00:00

What's the code to turn on single click for macrobuttons on locked documents?  I tried:

 

Sub AutoOpen()

    Options.ButtonFieldClicks = 1

End Sub

 

But I think I'm missing some pieces. 

Any help? 

~Dax

That is the code for it.  However, where did you put the macro?

See the Double-Click or Single-Click section of the article at http://www.word.mvps.org/FAQs/TblsFldsFms/HLinksInForms.htm

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2011-08-31T18:29:36+00:00

    Ah ha!!  There it is!  Yes, that helps.  All up and running now.  Thank you!

    Was this answer helpful?

    0 comments No comments