Macrobutton field

J

Julia

Hi - I just discovered that under Insert, Field there is a
macrobutton option. When I tried to use it (I wanted to
be able to d-click the button to have my document's fields
recalculate) it didn't work. Looked at Help, I seem to be
doing everything right - what's the trick?

I have a table with numbers that I want to add. Instead
of clicking the field and pressing F9 to update, I want
the macrobutton to update fields (which is one of the
macro button choices), but it does nothing.

Thanks!
 
C

Cindy M -WordMVP-

Hi Julia,

The macro button field won't work without a macro to perform
that actions. On looking at what Word 2002/2003 offers you, I
have to assume Microsoft expects that using a built-in
command will work, and the Help seems to indicate that, as
well. But as far as I can see, it does not.

Change the name of the macro the button should run to
UpdateDocFields and copy the following macro to your
Normal.dot template

Sub UpdateDocFields()
ActiveDocument.Fields.Update
End Sub
Hi - I just discovered that under Insert, Field there is a
macrobutton option. When I tried to use it (I wanted to
be able to d-click the button to have my document's fields
recalculate) it didn't work. Looked at Help, I seem to be
doing everything right - what's the trick?

I have a table with numbers that I want to add. Instead
of clicking the field and pressing F9 to update, I want
the macrobutton to update fields (which is one of the
macro button choices), but it does nothing.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top