M
Mike B
Hi
I have a macro that does a bit of formatting to any table that the cursor is
placed in. I can select the whole table easily:
Selection.Tables(1).Select
and can select individual rows too:
Selection.Rows(1).Select
but I now need to select every row except the first one (2-x) where x could
be any number, depending on how big the table is. Maybe some way of counting
the rows in the table first (x) and then using that number to select rows
2-x? Or maybe select row 2, perform the action, and move to next row and
repeat until there are no more rows in table 1?
Any other suggestions?
What would the syntax be?
thanks.
Mike Bourke
Sales Information Designer
IBM New Zealand Limited
Internet email : (e-mail address removed)
+64 4 462 3534 DDI
+64 4 576 5615 fax
+64 21 679 746 mob
I have a macro that does a bit of formatting to any table that the cursor is
placed in. I can select the whole table easily:
Selection.Tables(1).Select
and can select individual rows too:
Selection.Rows(1).Select
but I now need to select every row except the first one (2-x) where x could
be any number, depending on how big the table is. Maybe some way of counting
the rows in the table first (x) and then using that number to select rows
2-x? Or maybe select row 2, perform the action, and move to next row and
repeat until there are no more rows in table 1?
Any other suggestions?
What would the syntax be?
thanks.
Mike Bourke
Sales Information Designer
IBM New Zealand Limited
Internet email : (e-mail address removed)
+64 4 462 3534 DDI
+64 4 576 5615 fax
+64 21 679 746 mob