This should be simple but I'm getting a type mismatch error and its driving me crazy.I have run code that selects specific rows:
Rows("2:51"
.Select
and it works just fine. I am trying to do the same with variables for the rows:
Rows("RValx:RValy"
.Select
Then I want to delete the rows.
Where I have declared the variables as integers or left them as varients. I can't get by the type mismatch error. I'm stumped
Rows("2:51"
and it works just fine. I am trying to do the same with variables for the rows:
Rows("RValx:RValy"
Then I want to delete the rows.
Where I have declared the variables as integers or left them as varients. I can't get by the type mismatch error. I'm stumped