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

Goal Seek in a Macro



 
 
Thread Tools Display Modes
  #1  
Old November 20th, 2008, 11:12 PM posted to microsoft.public.excel.misc
mrogge2895
external usenet poster
 
Posts: 6
Default Goal Seek in a Macro

I am attampting to write a macro where I use goal seek to solve for price
based on the desired IRR input. When I bring up goal seek, it forces me to
manually input a value, rather than allow me to reference a cell value as the
input variable. Is there anyway to reference a cell value as the value I
would like to solve for within my macro?
  #2  
Old November 20th, 2008, 11:37 PM posted to microsoft.public.excel.misc
galimi
external usenet poster
 
Posts: 146
Default Goal Seek in a Macro

Yes. You can programatically change the cell that needs to be static to a
value and then change it back to a formula after you perform the goal seek.
--
http://HelpExcel.com




"mrogge2895" wrote:

I am attampting to write a macro where I use goal seek to solve for price
based on the desired IRR input. When I bring up goal seek, it forces me to
manually input a value, rather than allow me to reference a cell value as the
input variable. Is there anyway to reference a cell value as the value I
would like to solve for within my macro?

 




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


All times are GMT +1. The time now is 08:39 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.