PC Review


Reply
Thread Tools Rate Thread

command button to do F9 function

 
 
Jay
Guest
Posts: n/a
 
      3rd Oct 2006
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 With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      3rd Oct 2006
Add this to the button code

Activesheet.Calculate

--
HTH

Bob Phillips

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

"Jay" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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 With Quote
 
Jay
Guest
Posts: n/a
 
      3rd Oct 2006
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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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 With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      3rd Oct 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert a function through a command button Subodh Microsoft Excel Programming 5 14th May 2010 03:37 AM
Assign Function to a Command Button MUEEN SEHDI Microsoft Excel Misc 1 29th Oct 2009 11:25 AM
command button function =?Utf-8?B?U0RI?= Microsoft Excel Programming 1 18th Apr 2007 04:42 AM
Command Button Function =?Utf-8?B?Ym9i?= Microsoft Excel Programming 1 6th Feb 2007 06:12 PM
using command button instead of edit function =?Utf-8?B?am9obiB0ZW1wZXN0?= Microsoft Excel Programming 7 21st Dec 2005 06:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:46 PM.