wrote some code works fine in Excel, but from a .vbs file, it chokes.
the offending line:
the error:
if i change that to:
works fine, but obviously, loose the dynamism of using xlLastCell.
any insight into cause appreciated.
-colin
the offending line:
lastRow = .Cells.SpecialCells(xlLastCell).Row
the error:
"Unable to get the SpecialCells property of the Range class"
if i change that to:
lastRow = 100
works fine, but obviously, loose the dynamism of using xlLastCell.
any insight into cause appreciated.
-colin