Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Multiple Goal Seek

Hello,

I am not sure what is wrong with my code. I want to change the cells in
worksheet bb to 0 by changing the cells in ci. Example: changin h12 in ci to
get 0 in h158 in bb

sub gg()

Dim c As Object

For Each c In Worksheets("bb").Range("d158:ay158")
c.GoalSeek Goal:=0, ChangingCell:=Worksheets("ci").Range("d12:ay12")

Next

End Sub

thanks,
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 multiple cells massimo Excel Worksheet Functions 2 November 9th 07 04:02 PM
how to use goal seek in multiple cells? A.M.Vel Excel Discussion (Misc queries) 0 July 27th 06 01:26 PM
How can I use Goal Seek in multiple cells? Rey M Excel Worksheet Functions 2 September 23rd 05 03:10 AM
Goal seek multiple cells ?? Excel Worksheet Functions 1 August 5th 05 07:32 AM
Goal Seek on Multiple Cells newtoloop Excel Worksheet Functions 0 February 17th 05 10:01 PM


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