AnilPullagura
Board Regular
- Joined
- Nov 19, 2010
- Messages
- 98
Pros,
I am trying to assign an array to a Range of cells using End(xlToRight) property. I am still learning Arrays and would need help on the below code.
Macro is throwing an Error on this Line: Application-Defined or Object-Defined Error
Help Required.
Thanks,
Anil
I am trying to assign an array to a Range of cells using End(xlToRight) property. I am still learning Arrays and would need help on the below code.
Code:
ColHeads = Array(Worksheets(wkshtnames(m)).Range("A1" & Range("A1").End(xlToRight).Address))
Macro is throwing an Error on this Line: Application-Defined or Object-Defined Error
Help Required.
Thanks,
Anil