Sub Insert2Rows()
   ' siti Vi / jakarta, 29 Jun 2011
   '-------------------------------
   Dim RNG As Range, r As Long
   Set RNG = ActiveSheet.Cells(1).CurrentRegion.Offset(1, 0)

   For r = RNG.Rows.Count To 2 Step -1
      If r Mod 2 > 0 Then RNG(r, 1).Resize(2, 1).EntireRow.Insert
   Next

End Sub



On Wed, Jun 29, 2011 at 6:29 PM, Rakesh Sharma <rksharma...@gmail.com>wrote:

> *Dear all,
> *
> *
> *
> *please help*
>
> thanks in adv.
> --
> Regards
> Rakesh Sharma
>
>

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to