can excel insert rown based on variable data in a cell?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to create a spreadsheet where a value in a particular cell will be
changing. The question i have is, can excel read the data from that cell and
insert rows after a certain designated row based on that variable value?
 
will insert 4 rows at row 14 if 4 in cell b1

Rows("14:" & 14 + Range("b1") - 1).Insert
 

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

Back
Top