Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Command for recalculating macros

Hello,
I've written a function in a module that takes in as
inputs some values from my spreadsheet and outputs a
value. Now if change these input values on my spreadsheet,
my macro deosn't automatically recalculate. Is there a
function that recalculates function macros?
Thanks,
Naresh
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 968
Default Command for recalculating macros

Hi Naresh,

excel will recalculate your function if all the input values are specified
as arguments.

But if you refer directly to cells in the body of the function excel will
not recalculate it.

see http://www.decisionmodels.com/calcsecretsj.htm for more info.

Charles
______________________
Decision Models
FastExcel Version 2 now available.
www.DecisionModels.com/FxlV2WhatsNew.htm

"Naresh" wrote in message
...
Hello,
I've written a function in a module that takes in as
inputs some values from my spreadsheet and outputs a
value. Now if change these input values on my spreadsheet,
my macro deosn't automatically recalculate. Is there a
function that recalculates function macros?
Thanks,
Naresh



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Command for recalculating macros

Thanks very much, Charles. Ctrl-Alt-F9 was it. You've got
a great website.
Naresh

-----Original Message-----
Hi Naresh,

excel will recalculate your function if all the input

values are specified
as arguments.

But if you refer directly to cells in the body of the

function excel will
not recalculate it.

see http://www.decisionmodels.com/calcsecretsj.htm for

more info.

Charles
______________________
Decision Models
FastExcel Version 2 now available.
www.DecisionModels.com/FxlV2WhatsNew.htm

"Naresh" wrote in

message
...
Hello,
I've written a function in a module that takes in

as
inputs some values from my spreadsheet and outputs a
value. Now if change these input values on my

spreadsheet,
my macro deosn't automatically recalculate. Is there a
function that recalculates function macros?
Thanks,
Naresh



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Command for recalculating macros

See the function
Application.Volatile
/Niklas
-----Original Message-----
Hello,
I've written a function in a module that takes in as
inputs some values from my spreadsheet and outputs a
value. Now if change these input values on my

spreadsheet,
my macro deosn't automatically recalculate. Is there a
function that recalculates function macros?
Thanks,
Naresh
.

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
How to use Windows command within Excel macros Tom Excel Discussion (Misc queries) 2 April 20th 10 12:01 AM
Macros and Menu Command mary Excel Discussion (Misc queries) 2 September 7th 07 07:00 PM
Two Macros under One command button Rony Excel Discussion (Misc queries) 1 March 11th 06 12:11 PM
macros from command line Cyberwolf Excel Discussion (Misc queries) 3 July 19th 05 05:35 PM
Command buttons & macros Jock W Excel Discussion (Misc queries) 3 February 21st 05 02:57 PM


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

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"