Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 40
Default command button to do F9 function

Hi,

i want a F9 function to be done by command button when i click on it

i have 10 worksheet all of them have formulas , when i enter data on
first sheet i will click on Command button and it should calculate all
the formulas on all sheet i.e F9 function

can it be done using Macro ? please send methe code for the same.

thank you in advance

regards
Jay

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default command button to do F9 function

Add this to the button code

Activesheet.Calculate

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jay" wrote in message
ups.com...
Hi,

i want a F9 function to be done by command button when i click on it

i have 10 worksheet all of them have formulas , when i enter data on
first sheet i will click on Command button and it should calculate all
the formulas on all sheet i.e F9 function

can it be done using Macro ? please send methe code for the same.

thank you in advance

regards
Jay



  #3   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 40
Default command button to do F9 function

Bob,

Thank you for ur reply ?

where shall i put this code ? i m new to VBA ...

does it calculate all the worksheet formula

regards
Jay
Bob Phillips wrote:
Add this to the button code

Activesheet.Calculate

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jay" wrote in message
ups.com...
Hi,

i want a F9 function to be done by command button when i click on it

i have 10 worksheet all of them have formulas , when i enter data on
first sheet i will click on Command button and it should calculate all
the formulas on all sheet i.e F9 function

can it be done using Macro ? please send methe code for the same.

thank you in advance

regards
Jay


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default command button to do F9 function

Create a macro in a standard code module, with that code. When you create a
button, add the code to it.

See http://www.mvps.org/dmcritchie/excel/getstarted.htm

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jay" wrote in message
oups.com...
Bob,

Thank you for ur reply ?

where shall i put this code ? i m new to VBA ...

does it calculate all the worksheet formula

regards
Jay
Bob Phillips wrote:
Add this to the button code

Activesheet.Calculate

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Jay" wrote in message
ups.com...
Hi,

i want a F9 function to be done by command button when i click on it

i have 10 worksheet all of them have formulas , when i enter data on
first sheet i will click on Command button and it should calculate all
the formulas on all sheet i.e F9 function

can it be done using Macro ? please send methe code for the same.

thank you in advance

regards
Jay




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assign a function to a Command Button MUEEN SEHDI[_2_] Excel Worksheet Functions 3 November 1st 09 01:58 PM
Assign Function to a Command Button MUEEN SEHDI Excel Discussion (Misc queries) 1 October 29th 09 11:25 AM
Command button to run calculation function Fleone Excel Programming 1 April 28th 06 10:14 PM
using command button instead of edit function john tempest[_2_] Excel Programming 7 December 21st 05 06:41 PM
Command Button Function - Macro NickH[_2_] Excel Programming 3 January 22nd 04 11:02 AM


All times are GMT +1. The time now is 03:08 AM.

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

About Us

"It's about Microsoft Excel"