Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

goal seek reference

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SteveC - 14 Sep 2007 17:26 GMT
cell AC21 = 4.5 (hard coded number).

Cell AF21 = formula

Anyone have a macro that will goalseek cell af21 so it = cell ac21?

thanks a lot
SteveC - 14 Sep 2007 17:42 GMT
I forgot to say that the goal seek should be performed by changing the hard
coded value in cell af 13

> cell AC21 = 4.5 (hard coded number).
>
[quoted text clipped - 3 lines]
>
> thanks a lot
SteveC - 14 Sep 2007 18:00 GMT
Sub TEST()
Range("af21").GoalSeek Goal:=Range("ac21"), ChangingCell:=Range("af13")
End Sub

ah ha!

> I forgot to say that the goal seek should be performed by changing the hard
> coded value in cell af 13
[quoted text clipped - 6 lines]
> >
> > thanks a lot
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.