A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Macrobutton to run macro that updates formula



 
 
Thread Tools Display Modes
  #1  
Old September 30th, 2007, 01:00 PM posted to microsoft.public.word.tables
mgirving
external usenet poster
 
Posts: 10
Default Macrobutton to run macro that updates formula

Is there a way to have a macrobutton's display text disappear after it is
double-clicked in the following situation (or ideally just not appear in the
printed version):

1. In a template, I have set up a table with 3 rows.
2. The user inserts financial amounts in Row 1 and 2.
3. I have set up Row 3 with a Sum(Above) formula.
4. Next to the formula, I have placed a macrobutton that runs a macro which
updates the field (ie. the total of the table).
5. The display text of the macrobutton is 'Calculate'.
6. After a user double-clicks on it and the field is updated, I would like
the word 'calculate' to no longer appear (or ideally, to not appear in the
printed version).

Thank you.
  #2  
Old September 30th, 2007, 02:41 PM posted to microsoft.public.word.tables
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Macrobutton to run macro that updates formula

As this is a template, it would be simpler to move the macro control from a
macrobutton field to a floating custom toolbar, saved in the template, with
a button to run the macro. Then the problem doesn't arise.
http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


mgirving wrote:
Is there a way to have a macrobutton's display text disappear after
it is double-clicked in the following situation (or ideally just not
appear in the printed version):

1. In a template, I have set up a table with 3 rows.
2. The user inserts financial amounts in Row 1 and 2.
3. I have set up Row 3 with a Sum(Above) formula.
4. Next to the formula, I have placed a macrobutton that runs a
macro which updates the field (ie. the total of the table).
5. The display text of the macrobutton is 'Calculate'.
6. After a user double-clicks on it and the field is updated, I
would like the word 'calculate' to no longer appear (or ideally, to
not appear in the printed version).

Thank you.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.