J
John
I'm want to delete all rows in a named range table except the first and last.
I tried:
AIRowCount = Range("_AI_Robin_ActionTable").Rows.Count
Range("_AI_Robin_ActionTable").Rows(2, AIRowCount - 1).Delete Shift:=xlUp
but the VB doesn't like the 2 arguments in the Rows function.
How do I select multiple rows?
Better yet, where do I find documentation that will tell me what all the
Excel VB coding functions (or whatever you call those words between the dots)
are, how they work and what their parameters are? (I'd like to become a
better fisherman rather than a better fish moocher.) Is there some way I can
get or use the Excel 2007 VB editor to be a little more helpful producing
correct code?
Thx so much for your help, John
I tried:
AIRowCount = Range("_AI_Robin_ActionTable").Rows.Count
Range("_AI_Robin_ActionTable").Rows(2, AIRowCount - 1).Delete Shift:=xlUp
but the VB doesn't like the 2 arguments in the Rows function.
How do I select multiple rows?
Better yet, where do I find documentation that will tell me what all the
Excel VB coding functions (or whatever you call those words between the dots)
are, how they work and what their parameters are? (I'd like to become a
better fisherman rather than a better fish moocher.) Is there some way I can
get or use the Excel 2007 VB editor to be a little more helpful producing
correct code?
Thx so much for your help, John