Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default duplicate text

Or you can do it with a simple macro:

Sub insdup()
For ancell = 4 To 2 Step by - 1 ' replace 4 by real No of rows
Rows(ancell).Copy
Rows(ancell + 1).Insert Shift:=xlDown
Application.CutCopyMode = False
Next ancell
End Sub

Regards,
Stefi

€˛Kiannie€¯ ezt Ć*rta:

I want to duplicate names, example :

Dog
Cat
Duck

duplicate to

Dog
Dog
Cat
Cat
Duck
Duck

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete duplicate then combine text gr_jafari Excel Discussion (Misc queries) 4 September 30th 08 11:38 PM
Duplicate text values JN Excel Worksheet Functions 0 August 17th 07 02:22 AM
Duplicate text values CLR Excel Worksheet Functions 0 August 17th 07 02:21 AM
duplicate text JN Excel Discussion (Misc queries) 4 September 28th 06 05:37 PM
How do I get rid of duplicate text? DMCunningham Excel Worksheet Functions 1 April 5th 05 01:28 AM


All times are GMT +1. The time now is 09:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"