I have a sheet with 36000 rows I need to edit. There are 9 columns. Column A has groups of numbers as the rows go down the sheet. I would lkike to insert a blank row after each unique grouping of numbers.
See attached sample.
I have a sheet with 36000 rows I need to edit. There are 9 columns. Column A has groups of numbers as the rows go down the sheet. I would lkike to insert a blank row after each unique grouping of numbers.
See attached sample.
Hi StreekyD
In the attached I assumed you have a Header Row. Let me know of issues.Please Login or Register to view this content.
John
If you have issues with Code I've provided, I appreciate your feedback.
In the event Code provided resolves your issue, please mark your Thread as SOLVED.
If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.
Another optionPlease Login or Register to view this content.
Last edited by ChemistB; 09-14-2012 at 02:31 PM.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
@ChemistB
Your approach is the one I normally would have suggested but I was concerned about thisWhat do you think?I have a sheet with 36000 rows
Good point John, I probably should at least addto make it run a little faster. going back to amend the code in post 3. Maybe Streeky will tell us.Please Login or Register to view this content.
Thank you for the response Jaslake and ChemistB
Yes I do have Header rows. I tried the sample file you attached.
So what/where/how do I apply your resolve? I know enough to get me in trouble but an not intuitive to understand how to apply.
It appears this is a macro. I can copy the macro to my sheet but do not understand how to make it run
Do I need to add a sheet with the headers? Like you did?
Last edited by StreekyD; 09-14-2012 at 03:06 PM.
Hi StreekyD
There's a couple ways to do this...we'll take the easiest route first...please answer these few questions:
- What's the NAME of the File where your data lives?
- Are there any LINKS in the File (to other Workbooks for example)?
- What's the NAME of the Tab where your data lives?
- Are there any REFERENCES to other worksheets in this Tab (in Formulas for example)?
- In Excel 2010 do you have Developer in your Ribbon (way up on top)?
What's the NAME of the File where your data lives?
Price compare
Are there any LINKS in the File (to other Workbooks for example)?
No
What's the NAME of the Tab where your data lives?
Price compare
Are there any REFERENCES to other worksheets in this Tab (in Formulas for example)?
No
In Excel 2010 do you have Developer in your Ribbon (way up on top)?
Yes
For Jaslake's macro,
first, insert a new sheet and name it Lists (or rename a blank sheet Lists)
second, Hit Alt F11 to open the VBA editor.
Insert> Module and paste his code in that text box.
Change "Sheet1" to "Price Compare" wherever it appears in the code
Close VBA editor
and go to the Developer tab or View Tab and click on the Macro's icon and run Insert_breaks
For mine, the same thing except without the List sheet.
Any questions?
Perfect, Thank you ChemistB and Jaslake for you time.
I used ChemistB I did try both!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks