Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Simple goal seek macro

Hello,

I'm fairly new to VBA I hoping I can get some help with excels goal
seek function. I've recorded a macro to automate the goal seek
function, but I'd also like to expand it to incorporate some sort of
IF statement. So far I have:

Range("C443").GoalSeek Goal:=Range("B443"),
ChangingCell:=Range("B331")
End Sub

What I'd like to do is run: IF cell A1 is TRUE, than run goal seek 1
(as above), if not TRUE than run goal seek 1.

Any help appreciated

Elijah
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 via macro? Ken G. Excel Discussion (Misc queries) 2 April 3rd 09 09:48 AM
Goal Seek in a Macro mrogge2895 Excel Discussion (Misc queries) 1 November 20th 08 11:37 PM
simple yet complex scenario - goal seek problem stef Excel Worksheet Functions 1 June 14th 08 10:12 PM
Can I build 'goal seek' facility into a macro? sprasanna Excel Discussion (Misc queries) 1 April 28th 05 08:07 AM
Goal Seek tool in a macro choboy Excel Discussion (Misc queries) 0 April 27th 05 09:22 AM


All times are GMT +1. The time now is 08:41 PM.

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"