+ Reply to Thread
Results 1 to 5 of 5

VBA script change

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Posts
    139

    VBA script change

    Hello,

    I have a macro enabled attachment.

    In this attachment is a script which transpose multiple rows and 1 column to multiple columns and 'two rows'. If you run the macro, you'll see the name is a row above the rest, but it should be the same row.

    What should i change in the script? It is probably quite easy.

    I made an sheet 'How it should be'. It contains how it should be transposed.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA script change

    Maybe:

    Please Login or Register  to view this content.
    Last edited by JOHN H. DAVIS; 08-26-2014 at 08:44 AM.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: VBA script change

    Maybe:
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: VBA script change

    Getting hung up on trying to use arrays for everything. So, instead, maybe this:

    Please Login or Register  to view this content.

    Regards, TMS

  5. #5
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: VBA script change

    Hi,
    Here's another proposal :

    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Name Change VBA Script
    By whchuan111 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2014, 05:52 PM
  2. Replies: 0
    Last Post: 03-08-2012, 05:02 PM
  3. Change an IF statement(s) into a script
    By clayton in forum Excel General
    Replies: 9
    Last Post: 11-21-2006, 11:54 AM
  4. [SOLVED] Text Box Change Script
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2006, 06:50 PM
  5. [SOLVED] script to change filename
    By jeramie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2006, 05:40 PM

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