See if it help

Worksheets("Sheet1").Range("Polynomial").GoalSeek _
    Goal:=15, _
    ChangingCell:=Worksheets("Sheet1").Range("X")
                

-----Original Message-----
From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of Ritesh Jain
Sent: Saturday, June 04, 2011 1:37 PM
To: MS EXCEL AND VBA MACROS
Subject: $$Excel-Macros$$ Goal seek in macros

Dear Friends,

How can i use goal seek in macros in Microsoft excel?

For eg: I prepare balance sheet of XYZ Co. and the component of the
balance sheet are:

Assets:
Advances                    40
Investments                 25
Bank Balance              25
Fixed Assets               15
Other Assets               05
Total                          100
Liabilities:
Capital & Reserves       50
Deposits                      25
Borrowings                   20
Other liabilities             05
Total                          100

I wanna change the amount advances from 40 to 70, so i want the amount
of borrowing to be increased with the help of goal seek in macros.

-- 
----------------------------------------------------------------------------
------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links :
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to