Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Rafaga
 
Posts: n/a
Default VBA Code for Montecarlo Simulation

I would like to set up a spreadsheet intended for Montecarlo simulations to
iterate a number of times (say 1000), while saving the frequency of each
outcome on a separate table or graph. I know that pressing F9 recalculates
the spreadsheet, generating a new outcome each time. What would the VBA code
look like for this routine?


  #2   Report Post  
Posted to microsoft.public.excel.newusers
David J. Braden
 
Posts: n/a
Default VBA Code for Montecarlo Simulation

Rafage-
Save a lot of hassle by using the free add-in PopTools, which
incidentally includes a superb rng (current state of the art for MS sims).

Dave Braden

Rafaga wrote:
I would like to set up a spreadsheet intended for Montecarlo simulations to
iterate a number of times (say 1000), while saving the frequency of each
outcome on a separate table or graph. I know that pressing F9 recalculates
the spreadsheet, generating a new outcome each time. What would the VBA code
look like for this routine?



--
Please keep response(s) solely within this thread.
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Rafaga
 
Posts: n/a
Default VBA Code for Montecarlo Simulation

Thank you, David!. I will try it.

Best regards,

Rafaga.

=====================================
"David J. Braden" wrote in message
...
Rafage-
Save a lot of hassle by using the free add-in PopTools, which incidentally
includes a superb rng (current state of the art for MS sims).

Dave Braden

Rafaga wrote:
I would like to set up a spreadsheet intended for Montecarlo simulations
to iterate a number of times (say 1000), while saving the frequency of
each outcome on a separate table or graph. I know that pressing F9
recalculates the spreadsheet, generating a new outcome each time. What
would the VBA code look like for this routine?


--
Please keep response(s) solely within this thread.



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
code not unique find latest date Barbara Wiseman Excel Discussion (Misc queries) 3 December 11th 05 08:50 AM
VLOOKUP for Zip Code Ranges JerseyJR Excel Worksheet Functions 2 September 6th 05 06:37 PM
Conform a total to a list of results? xmaveric Excel Discussion (Misc queries) 1 August 21st 05 07:22 PM
Macro for changing text to Proper Case JPriest Excel Worksheet Functions 3 August 8th 05 09:31 PM
close form code tkaplan Excel Discussion (Misc queries) 1 June 3rd 05 10:49 PM


All times are GMT +1. The time now is 06:42 PM.

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

About Us

"It's about Microsoft Excel"