Reference Column of Named Cell vba
Dave Peterson wrote in news:4BDEBBBD.B7AF3490
@verizonXSPAM.net:
msgbox mycell.column
Dave,
I am obviously doing something wrong as this code;
Dim myCell As Range
Set myCell = Worksheets("Sheet4").Range("StaffHeader1")
MsgBox myCell.Column
gives me a "subscript out of range error"
Any ideas ?
Thanks
PS I have a Sheet4 and StaffHeader1 is a named cell on that sheet
|