Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes, that will work for a single series category style chart and I guess
that is what you have. Glad you have a solution. -- regards, Tom Ogilvy "Bryan via OfficeKB.com" wrote in message ... Actually, I just got help from someone else on how to do this: ----------- Dim myChartRange As Range With Selection For k = 1 To .Rows.Count If .Cells(k, 2) 0 Then If myChartRange Is Nothing Then Set myChartRange = .Rows(k) Else Set myChartRange = Union(myChartRange, .Rows(k)) End If End If Next End With ----------- Thanks anyway. -- Message posted via http://www.officekb.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
adding numbers that contain ranges | Excel Worksheet Functions | |||
Adding Non-Contiguous Ranges | Excel Discussion (Misc queries) | |||
adding ranges | Excel Discussion (Misc queries) | |||
adding named ranges | New Users to Excel | |||
Adding Cell Values to Ranges | Excel Programming |