Run Macro from Button on Document

B

Brenda Hutton

User has a document which is NOT a protected form. She wants to be able to
put a button on the document that will run a macro to sort the info within a
table. I can get a macro to do the sorting but have not figured out how to
get it in a button on the document. I could help her put the macro on the
toolbar, but that is not acceptable for her. Can anyone direct me on how do
run this from the document itself?
 
J

Jonathan West

Hi Brenda,

A MACROBUTTON field is the normal way of doing this.

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
 
B

Brenda Hutton

Thanks, that's what I thought. Whenever I put a macrobutton in the document
and try to run it, I get an error. Often the macro was working perfectly
well and stops running. Very confusing. Anyway, I'm beginning to think the
problem was in the macro and not in the macrobutton command. I'll keep
working at it. Thanks.
 
B

Brenda Hutton

Just confirming the problem WAS in the macro. Got that straightened out and
the macrobutton is working perfectly well. Thanks again for the help.
 

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