Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default vba goal seek in 07 envoking sumcolor UDF

This code worked fine in 03 at which time the sumcolor UDF was a module
within the workbook. When we went to 07, we made the UDF an .xlam add-in so
it would be available to all workbooks.

Now when we run the code in 07, the code appears to envoke the sumcolor UDF
at the goal seek section...but there are no UDF functions in any of the
ranges that the macro is in.


Sub GoalSeekPrinPaid()

Dim r As Integer, i As Integer
r = 71
Cells(45, r).Select

Do
r = r + 1

If Cells(45, r) < "end" Then

'goal seek
'set cell range (row 45) to 0 by adjusting 100% (row 70)
Cells(45, r).GoalSeek Goal:=0, ChangingCell:=Cells(70, r)

End If

Loop Until Cells(45, r + 1) = "end"

End Sub



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 with dynamic Goal Seek Dkline Excel Programming 1 February 18th 08 10:00 AM
vba goal seek 2 csw78[_3_] Excel Programming 1 June 12th 05 08:24 PM
Goal Seek KG[_3_] Excel Programming 0 June 8th 04 08:09 AM


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