Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm an Access Programmer, but was asked why this proceduire fails w/ Error
91... I tried setting ..Dim ActiveChart As ChartObject...but it still fails...see where I have "<--- Where Error 91 occurs" below. TIA - Bob Sub ColorBySeriesName() Dim rPatterns As Range Dim iSeries As Long Dim rSeries As Range Set rPatterns = ActiveSheet.Range("AR6:BH235") With ActiveChart For iSeries = 1 To .SeriesCollection.Count <--- Where Error 91 occurs Set rSeries = rPatterns.Find(What:=.SeriesCollection(iSeries).Na me) If Not rSeries Is Nothing Then .SeriesCollection(iSeries).Interior.ColorIndex = _ rSeries.Interior.ColorIndex End If Next End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Application/Object defined error? | Excel Discussion (Misc queries) | |||
How do i export a pivot chart as a static chart object? | Charts and Charting in Excel | |||
Object Variable Not Set Error on Selection object | Excel Worksheet Functions | |||
How do I get rid of the error "can't shift object off sheet" | Excel Discussion (Misc queries) | |||
error! Not a valid embedded object | Excel Discussion (Misc queries) |