M
michael.blaustein
I am getting a "Subscript out of range" error trying to run a simple
bit of code. This is the code, essentially:
Range("valJobCostEntryList").Sort _
Key1:=Worksheets("wksJobCostInput").Range("E8"), _
Key2:=Worksheets("wksJobCostInput").Range("G8"), _
Key3:=Worksheets("wksJobCostInput").Range("H8")
I have tried including Worksheets("wksJobCostInput"). before Range,
and I have tried the following line of code:
Range("valJobCostEntryList").Select
which works just fine. I can't use select, however, because I am
capturing that Event to bring up a dialog box, and I don't want to
call the dialog box, just to sort the darned range!
Can anyone help me please?
bit of code. This is the code, essentially:
Range("valJobCostEntryList").Sort _
Key1:=Worksheets("wksJobCostInput").Range("E8"), _
Key2:=Worksheets("wksJobCostInput").Range("G8"), _
Key3:=Worksheets("wksJobCostInput").Range("H8")
I have tried including Worksheets("wksJobCostInput"). before Range,
and I have tried the following line of code:
Range("valJobCostEntryList").Select
which works just fine. I can't use select, however, because I am
capturing that Event to bring up a dialog box, and I don't want to
call the dialog box, just to sort the darned range!
Can anyone help me please?