Macro: Insert Blank Row with formulas uses absolute position probl

S

steveb

My problem:
Creating a macro to insert a new blank row, then fill that row with the
formulas/formatting from the row above. (ie I'm trying to keep my file size
at the smallest it needs to be for the data in it)

Simple, yes. But having recorded the Macro Excel (vb) always inserts the row
at the same row number (ie always inserts the new row at row 18), whereas I
need the macro to create a row beneath the last row with data in it which
could be row 60 or 70 etc.

I think I need the macro to refer to a relative row position rather than an
absolute row position. Can I do that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top