Reputation: 3488
I want to define the vales in a series using a range.
.SeriesCollection(1).Values = Sheets("Data").Range(Cells(2, col), Cells(1002, col))
This however does not work. It fails with error 1004.
Upvotes: 0
Views: 731
Reputation: 3488
The cells were not found. It works now with
Sheets("Data").Range(Sheets("Data").Cells(2, col), Sheets("Data").Cells(1002, col))
Upvotes: 1