Insert a number of rows based on a value in a cell on active row

I

iRocco

Hey all. I am new to macros in excel. Hoping to find help. I have
worksheet, 3 columns and lets say 1000 rows. Column A is a beginnin
page number of a document, column B is its ending page number, an
column C is the number of pages calculated by subtracting Bx - Ay an
adding 1. Example:

...
1000 1001 1
1002 1005 4
1006 1007 2
1008 1008 1
...

I'd like to have a macro which would go line-by-line and insert a
appropriate number of rows in between so I can flesh-out the ranges o
values. Example result would be:

1000 1001 1

1002 1005 4



1006 1007 2

1008 1008 1


Any help would be greatly appreciated
 

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