+ Reply to Thread
Results 1 to 2 of 2

Automation using VBA

  1. #1
    Registered User
    Join Date
    03-24-2008
    Posts
    1

    Automation using VBA

    Hi,



    I am having an Excel sheet of the following format:



    Item1 Item2 Item3 QTY Date

    A1 B1 C1 200 2-Jun-08
    A1 B1 C2 300 9-Jun-08
    A2 B2 C1 400 16-Jun-08
    A2 B2 C2 500 23-Jun-08





    Using VBA, I want to automatically convert this data in to the following format:




    2-Jun-08 9-Jun-08 16-Jun-08 23-Jun-08
    Item1 Item2 Item3

    A1 B1 C1 200
    A1 B1 c2 300
    A2 B2 C1 400
    A2 B2 C2 500




    I could have recorded a macro, creating a tranpose of the columns and done some formatting.



    The challenge is that number of columns (ItemX ) is dynamic.



    So is the number of records which keep changing every day.



    Can someone help me how to go about achieving this ?





    Thanks,

    kingfisher
    Last edited by kingfisher007; 03-24-2008 at 04:04 AM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Something like this?

    Please Login or Register  to view this content.

+ 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