hi
I was just wondering if anyone new ay code which would allow me to insert a blank line every 200 rows.
Thanks
hi
I was just wondering if anyone new ay code which would allow me to insert a blank line every 200 rows.
Thanks
Try this codeCopy the Excel VBA code![]()
Please Login or Register to view this content.
Select the workbook in which you want to store the Excel VBA code
Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
Choose Insert | Module
Where the cursor is flashing, choose Edit | Paste
To run the Excel VBA code:
Choose View | Macros
Select a macro in the list, and click the Run button.
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
Hi Arlu201
It keeps coming back with Run error 9, Not really sure what that means any ideas.
Thansk
Do you have a sample file that you can upload?
Silly question... is your sheet name "Sheet1"?
If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved
Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown
Oops, that was a good catch WasWodge. I assumed that runtime error 9 was type mismatch instead of subscript out of range.
Thanks for your help with this
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks