+ Reply to Thread
Results 1 to 4 of 4

Macro for Transposing Columns into a new Row

  1. #1
    Registered User
    Join Date
    04-01-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Macro for Transposing Columns into a new Row

    Man, I have been searching for hours for a macro that transposes columns into a new row that would work for me. I was hoping one of you smart people might be able to help.

    Here is what I have (the commas are signifying columns):

    OptionName1, OptionName2, OptionName3, OptionValue1, OptionValue2, OptionValue3

    This is what I need to get:

    OptionName1, OptionValue1
    OptionName2, OptionValue2
    OptionName3, OptionValue3

    Any help would be very much appreciated. Thanks, Matt

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Macro for Transposing Columns into a new Row

    Can't you just use copy and Paste Special with Transpose ticked? Even with a block copy this should work.

    Everything would then be in columns and then it would be just a simple case of cut and pasting columns where you wanted them
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    04-01-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Macro for Transposing Columns into a new Row

    That would be ok, but I'm dealing with hundreds of lines of data. Not only do I have to manually copy and paste special > transpose every line, but I also have to insert several new rows to do it.

  4. #4
    Registered User
    Join Date
    04-01-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Macro for Transposing Columns into a new Row

    Any other ideas?

+ Reply to Thread

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