![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 2
|
I've recorded a marco doing some simple graph. So how that it works perfect but whenever I close the file and start again it just won't work. when I debug it the same line always wrong.
here is the macro. ActiveChart.SeriesCollection(2).Values = "=MAIN!R25C16" Thanks. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Brampton
Posts: 324
|
According to your line of code, the SeriesCollection method returns only one value. Usually the series include more than one value, expressed as a range.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|