Thread: Using Array's
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Alan Beban[_2_] Alan Beban[_2_] is offline
external usenet poster
 
Posts: 783
Default Using Array's

Rick S. wrote:
In the code below I have an Array setup (or so I think), How do I use it to
delete the rows that have been copied?
What I have fails with Error 9, subscript out of range.


Your line Sheets(CellArray()).EntireRow.Delete doesn't make any sense.
If CellArray() is a Variant() array, Sheets(CellArray()) is nonsense.

And what is the point of your line Application GoTo . . .???

Alan Beban