Hi Mahesh,

 

Insert the below code in a new module.

'___________________________________________________________________________
_______________________________________________________________

Sub Macro1()

 

Range("A1").Activate ' Change A1 to Starting of Your Data and the column
having maximum no of non blank cells so that the macro should run till the
end of your data.

    Do While ActiveCell.Value <> ""

        Rows(ActiveCell.Row).Offset(1, 0).Select

        Selection.Insert Shift:=xlDown ' Repeat This line of Code to the no
of blank Rows you need.

        ActiveCell.Offset(1, 0).Activate

    Loop

End Sub

____________________________________________________________________________
_______________________________________________________________

 

 

Regards,

 

Upendra Singh

+91-9910227325, +91-9310760597

 

----------------------------------------------------------------------------
---------------------------------

There are 10 kinds of people: Those who understand binary and those who
don't.

----------------------------------------------------------------------------
---------------------------------

 

From: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com]
On Behalf Of Mahesh
Sent: Wednesday, July 15, 2009 9:05 AM
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ Creating empty rows b/w filed rows without ASAP

 

Hi folks,

 

Gud Morning

 

I want insert empty row between the rows containing data with the hepl of
macro.

 

Please also suggested how to use it in Excel 2007.

 

Thanks in advance.......



-- 
With Love,
Mahesh Bisht



--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 5,000 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to