View Single Post
  #4   Report Post  
Posted to microsoft.public.word.newusers
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Visual Basic Macro

Hi ?B?TUlTU0E=?=,

However, what I did not realise is
when you protect a form the button does not operate. I managed to work out
how to use hyperlinks in forms but how can I work command buttons?

The simplest way is to use a MacroButton field (Insert/Fields). You can use a
graphic representation of a button as the "display text", or formatted text.

By default, the user needs to double-click the button to execute the macro.
But you can set Application.options.ButtonFieldClicks = 1 to make it execute
on a single click.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)