A
Apurva
I have a command button in sheet 1. I want to delete d first column in sheet
ECO, when the command button is clicked. This is the macro I used:
Sheets("ECO").Select
Columns("A:A").Select
Selection.Delete Shift:=xlToLeft
When I run the macro, I get the error message
"Run-time error 1004-Select method of range class failed"
and the cursor points to the line
Columns("A:A").Select
How can I link the two sheets?
ECO, when the command button is clicked. This is the macro I used:
Sheets("ECO").Select
Columns("A:A").Select
Selection.Delete Shift:=xlToLeft
When I run the macro, I get the error message
"Run-time error 1004-Select method of range class failed"
and the cursor points to the line
Columns("A:A").Select
How can I link the two sheets?