Tridiro
Board Regular
- Joined
- Apr 26, 2007
- Messages
- 97
Hello, Can anyone explain why the following code errors out on the set firstcell ?
Code:
Dim MyRange As Range
Dim FirstCell As Range
Dim LastCell As Range
Dim InputCell As Range
Set FirstCell = Range("AA", ActiveCell.Row)
Set LastCell = Range("TA", ActiveCell.Row)
Set MyRange = Range(FirstCell, LastCell)
Set InputCell = MyRange.SpecialCells(xlCellTypeBlanks)