teletubby5e
Technical User
I need a little help with what seemed to me a simple task.
I am just trying to insert a row on every alternating line in a spreadsheet, and for it to stop when it gets to the bottom. something along these lines.
1. start in the cell where the cursor is.
2. insert a line
3. if it as at the last row, stop
4. if not, move down 2 lines
5. go back to 1
i tried modifying a great script in this forum which shaded alternating lines using a MOD command, but no luck yet.
i imagine it has something to do with the (offset 1,0) command.
can someone please point me in the right direction?
thanks, jeff
I am just trying to insert a row on every alternating line in a spreadsheet, and for it to stop when it gets to the bottom. something along these lines.
1. start in the cell where the cursor is.
2. insert a line
3. if it as at the last row, stop
4. if not, move down 2 lines
5. go back to 1
i tried modifying a great script in this forum which shaded alternating lines using a MOD command, but no luck yet.
i imagine it has something to do with the (offset 1,0) command.
can someone please point me in the right direction?
thanks, jeff