automatically insert row each time a code changes

  • Thread starter Thread starter Brian Rapuling
  • Start date Start date
B

Brian Rapuling

I have a spreadsheet containing data in various columns and consists out of
about 18000 rows. Data is a hierarchy of Commodity structures starting from
the highest level etc. I want to automatically insert a row after each change
of code of the highest level
 
THis can be done. You'd need to use a Worksheet_Change event. Without
knowing the details of how you determine the "highest level" code or where it
might be located on the sheet, I can't give any more details.

You can read more about events here.

http://www.mvps.org/dmcritchie/excel/event.htm
 

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