Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default HOW DO I SET PERMANENT GOAL SEEK IN EXCEL

I HAVE TO BRING THE GOAL SEEK DIALOGUE BOX, EVERY TIME I MAKE A CHANGE IN THE
DATA. CAN GOAL SEEK BE PERMANENTLY SET , SO THAT I GET ANSWERS AUTOMATICALLY
EVERY TIME I CHANGE THE DATA & NOT HAVE TO REFER TO GOAL SEEK EVERYTIME.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default HOW DO I SET PERMANENT GOAL SEEK IN EXCEL

You could record a macro of your use of Goal Seek. Perhaps something
like:

Public Sub DoGoalSeek()
Const dGOAL As Double = 100
Const sCHANGINGCELLADDRESS As String = "A1"
Const sTARGETCELLADDRESS As String = "J10"

With Worksheets("Sheet1")
.Range(sTARGETCELLADDRESS).GoalSeek _
Goal:=dGOAL, _
ChangingCell:=.Range(sCHANGINGCELLADDRESS)
End With
End Sub

If you want you can make it work automatically by putting this in your
worksheet code module (right-click the worksheet tab and choose View
Code):


Private Sub Worksheet_Change(ByVal Target As Excel.Range)
DoGoalSeek
End Sub


In article ,
YKPURI wrote:

I HAVE TO BRING THE GOAL SEEK DIALOGUE BOX, EVERY TIME I MAKE A CHANGE IN THE
DATA. CAN GOAL SEEK BE PERMANENTLY SET , SO THAT I GET ANSWERS AUTOMATICALLY
EVERY TIME I CHANGE THE DATA & NOT HAVE TO REFER TO GOAL SEEK EVERYTIME.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
goal seek tikchye_oldLearner57 Excel Discussion (Misc queries) 3 August 31st 06 02:52 PM
MS Excel: Why would the Goal Seek option be dimmed for a book? Janine Excel Discussion (Misc queries) 4 March 9th 06 07:50 PM
Excel - Goal Seek Janet Charts and Charting in Excel 2 February 25th 06 09:16 PM
Goal Seek Jake Excel Discussion (Misc queries) 1 June 12th 05 05:55 AM
Goal Seek Tiya Excel Worksheet Functions 1 May 11th 05 12:38 PM


All times are GMT +1. The time now is 05:02 AM.

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

About Us

"It's about Microsoft Excel"