Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-18-2017, 12:55 PM
Logit Logit is offline worksheet row to print on two or more printout lines Windows 10 worksheet row to print on two or more printout lines Office 2007
Expert
 
Join Date: Jan 2017
Posts: 591
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

.
You can use this macro to insert a blank row between existing rows of data on your worksheet:

Code:
Option Explicit

Sub Insert_Blank_Rows()
     
     'Select last row in worksheet.
    Selection.End(xlDown).Select
     
    Do Until ActiveCell.Row = 1
         'Insert blank row.
        ActiveCell.EntireRow.Insert shift:=xlUp
         'Move up one row.
        ActiveCell.Offset(-1, 0).Select
    Loop
     
End Sub
Before running the macro, click on the next to the last row of existing data. In other words, if you data on the sheet goes from A1 to A10, click on A9, then run the macro.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Why do straight lines have a sawtooth edge when I insert an image and print from Powerpoint? SnowPatrol161 PowerPoint 1 02-06-2017 09:01 AM
worksheet row to print on two or more printout lines Lines separate paragraphs in Print Layout view FKerr Word 5 08-13-2015 11:45 AM
worksheet row to print on two or more printout lines Word 2010 Printing Lines NOT Showing on Print Preview kziemke Word 4 06-02-2015 07:16 AM
worksheet row to print on two or more printout lines printer can't print out the lines pclum Word 4 07-02-2011 02:36 AM
Unable to print blank lines on a legal form dpenbag Word 0 03-20-2006 09:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft