Results 1 to 8 of 8

Create duplicate rows based on value in a column

Threaded View

PGonzalez Create duplicate rows based... 02-06-2010, 04:18 PM
JBeaucaire Re: Create duplicate rows... 02-06-2010, 04:43 PM
amyarms Re: Create duplicate rows... 12-04-2012, 04:54 PM
siddha28 Re: Create duplicate rows... 01-20-2014, 06:28 AM
IamVBADumb Re: Create duplicate rows... 04-12-2014, 07:33 PM
Mallycat Re: Create duplicate rows... 02-06-2010, 04:46 PM
BChiddy Re: Create duplicate rows... 04-24-2012, 11:28 AM
arlu1201 Re: Create duplicate rows... 04-14-2014, 01:34 AM
  1. #1
    Registered User
    Join Date
    02-06-2010
    Location
    San Juan, Puerto Rico
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post Create duplicate rows based on value in a column

    Hello, All. I need a VBA/macro very similar to several I have seen posted here. I have a worksheet with two columns and a few hundred lines. One has titles and the other integers indicating how many times the title needs to be copied to another worksheet or text file.

    Existing Worksheet (Input)
    TitleA 1
    TitleB 6
    TitleC 4
    TitleD 3

    Desired Output (Worksheet or Text File) [The entire row, including the integer could be copied as well, if it is easier.]
    TitleA
    TitleB
    TitleB
    TitleB
    TitleB
    TitleB
    TitleB
    TitleC
    TitleC
    TitleC
    TitleC
    TitleD
    TitleD
    TitleD

    This should be simple, but I am a total newbie with Excel VBA/macros. A sample is attached. Any help will be greatly appreciated.

    [Thanks to both for quick and clear replies.]
    Attached Files Attached Files
    Last edited by PGonzalez; 02-06-2010 at 05:05 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1