I recently got a data file with a LOAD of information, reading it is becoming a strain as i always lose track of where i am
I would like to insert/create a new row for every 30.
How can I get this done?
I recently got a data file with a LOAD of information, reading it is becoming a strain as i always lose track of where i am
I would like to insert/create a new row for every 30.
How can I get this done?
* * * * * * *
How beautiful it is to excel, and the goodness of giving from your heart. || Always strive to excel, but only on weekends. - Richard Rorty & Robert Mondavi
You can use VBA for this...
Paste code in a Normal module![]()
Please Login or Register to view this content.
- Where to paste code
- Highlight macro to copy >> Ctrl + C >> Open your workbook
- Alt + F11 >> opens the Visual Basic Editor (VBE)
- Ctrl + R >>opens the Project Explorer (if not already open on left side of screen)
- Insert menu >> Module or Alt + I, M >> activates the Insert menu and inserts a Standard Module
- Paste code >> Ctrl + V (right side of screen)
- Alt + Q >> exits VBE and returns to Excel
- Back in Excel >> Alt + F8 >> Macro Dialog Box >> Highlight macro >> Run
HTH
Regards, Jeff
hi anonymust, here's a non-VBA approach if you need one. place a formula in another column.
this is for rows 30, 60, 90 & so on.
=MOD(ROW(),30)=0
this is for data that makes up 30, 60, 90 & so on. that means your data may start from A8 & 30 rows later is A37. change the one in red to where you start
=MOD(COUNTA(A$1:A1),30)=0
after this, do an Autofilter & select those that are TRUE. select those rows & press ALT + ; to select visible cells. then Home -> Insert -> Insert Sheet Rows
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks