Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kro Kro is offline
external usenet poster
 
Posts: 7
Default Parameter Input for Goal Seek

Need to create code to utilize different cells for goal seek & not just cell
K2. The various cells will be in the same column, but will vary based on the
number of years selected (i.e if YR=5, then cell is K, 2+5) from the initial
year cell (K2):
Range("K2").GoalSeek Goal:=ParameterPF, ChangingCell:=Range("D3")

--
Kro
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Parameter Input for Goal Seek

YR = 5
Range("K" & (YR + 2)).GoalSeek Goal:=ParameterPF, ChangingCell:=Range("D3")


"Kro" wrote:

Need to create code to utilize different cells for goal seek & not just cell
K2. The various cells will be in the same column, but will vary based on the
number of years selected (i.e if YR=5, then cell is K, 2+5) from the initial
year cell (K2):
Range("K2").GoalSeek Goal:=ParameterPF, ChangingCell:=Range("D3")

--
Kro

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kro Kro is offline
external usenet poster
 
Posts: 7
Default Parameter Input for Goal Seek

Thank You!
--
Kro


"Joel" wrote:

YR = 5
Range("K" & (YR + 2)).GoalSeek Goal:=ParameterPF, ChangingCell:=Range("D3")


"Kro" wrote:

Need to create code to utilize different cells for goal seek & not just cell
K2. The various cells will be in the same column, but will vary based on the
number of years selected (i.e if YR=5, then cell is K, 2+5) from the initial
year cell (K2):
Range("K2").GoalSeek Goal:=ParameterPF, ChangingCell:=Range("D3")

--
Kro

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 lawson Excel Discussion (Misc queries) 6 March 12th 08 02:37 PM
Goal Seek Tarig Excel Discussion (Misc queries) 3 February 23rd 08 10:24 PM
Goal seek - Is there a bug? Petros[_2_] Excel Discussion (Misc queries) 3 February 21st 08 05:42 PM
How to use goal seek manu Excel Worksheet Functions 2 July 8th 07 11:10 PM
goal seek tikchye_oldLearner57 Excel Discussion (Misc queries) 3 August 31st 06 02:52 PM


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