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 / June 2006

Tip: Looking for answers? Try searching our database.

How do i call a macro from a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KhanhNguyen - 24 Jun 2006 10:24 GMT
I have a problem
The "A3" cell 's formula contain "A1" and "A2"
I want to do this work " when the value of cell "A1" change, excel
automatically GoalSeek cell "A3" to the goal:=100 by changing cell "A2"
"
That mean the value of cell "A3" always is 100 whatever cell "A1" 's
value is
Please help me !

Signature

KhanhNguyen

ADG - 24 Jun 2006 11:45 GMT
hI

Try using the worksheet change event to trigger the solver

Private Sub Worksheet_Change(ByVal Target As Range)
If Target = Range("A1") Then
  ... Record the solver macro and paste in here
End If
End Sub

Regards

ADG
Signature

Tony Green

> I have a problem
> The "A3" cell 's formula contain "A1" and "A2"
[quoted text clipped - 4 lines]
> value is
> Please help me !
 
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.