Consulting

Results 1 to 3 of 3

Thread: Transpose Column to Row (2 column)

  1. #1

    Transpose Column to Row (2 column)

    Dear Sir,

    Can you help me

    Actually, I need to transpose the data from column to Row (Below is the example of my data)

    Format is not always same some have 7 rows and some have 8 rows, After every data, there is Blank row,for me main problem his Amount (Column B), I need to insert the new Column After EFT INCOMING and put the amount

    Please Consider Book1
    Attached Files Attached Files
    Last edited by ADITYAKANWAR; 11-30-2016 at 07:44 AM.

  2. #2
    Hi,

    for book1.xlsx this code should help:

    Sub Main
    for each Ar in columns(2).specialcells(2).areas
        Ar.cells(1).offset(0,2).resize(1, Ar.count) = application.transpose(Ar)
    next Ar
    End Sub
    regards

  3. #3
    it's working not properl

    I Need Date and Amount also

    Thanks in Advance

    Quote Originally Posted by Fennek View Post
    Hi,

    for book1.xlsx this code should help:

    Sub Main
    for each Ar in columns(2).specialcells(2).areas
        Ar.cells(1).offset(0,2).resize(1, Ar.count) = application.transpose(Ar)
    next Ar
    End Sub
    regards

Posting Permissions

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