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 Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

VBA Code for Montecarlo Simulation



 
 
Thread Tools Display Modes
  #1  
Old May 19th, 2006, 02:43 AM posted to microsoft.public.excel.newusers
external usenet poster
 
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  
Old May 19th, 2006, 05:28 PM posted to microsoft.public.excel.newusers
external usenet poster
 
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  
Old May 20th, 2006, 12:31 AM posted to microsoft.public.excel.newusers
external usenet poster
 
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.



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Barcodes Brandon Y General Discussion 6 October 18th, 2005 07:28 PM
Toolbars, Drop-Down Menus Rick New Users 1 September 21st, 2005 11:17 AM
0x80040109 error when sending from SSL SMTP krouse General Discussion 7 March 15th, 2005 01:55 AM
Excellent Navigation Method! Bill Mitchell Using Forms 3 December 16th, 2004 01:49 PM
Attn Sprinks - clarification on VB code babs Using Forms 6 December 11th, 2004 12:55 AM


All times are GMT +1. The time now is 07:11 PM.


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