+ Reply to Thread
Results 1 to 6 of 6

Transpose copying

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    Deutschland
    MS-Off Ver
    Excel 2003
    Posts
    42

    Transpose copying

    Hey guys,

    so far I have this code:

    Please Login or Register  to view this content.
    I would need to expand this code that it does not only filter but also transposes the values it catches from Sheet1.

    I would be really glad if someone could help me !

    Thank you a lot in advance!
    Last edited by jeffreybrown; 12-03-2012 at 01:54 PM. Reason: Please use code tags...Thanks.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Transpose copying

    only one code line to understand problem ?
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    11-28-2012
    Location
    Deutschland
    MS-Off Ver
    Excel 2003
    Posts
    42

    Re: Transpose copying

    You are right
    Here the total code:
    Const shAll As String = "All Data"
    Const shAna As String = "Analysis"


    With Sheets(shAll)
    With .Range("B7", .Cells(Rows.Count, "b").End(xlUp))
    .AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Sheets(shAna).Range("A8"), Unique:=True
    End With
    End With

    End If

    How can I expand this code that it does not only copy the certain range with unique values only but it also transposes it starting in Cell C3

    Thank you guys

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Transpose copying

    Replace A8 with C3

  5. #5
    Registered User
    Join Date
    11-28-2012
    Location
    Deutschland
    MS-Off Ver
    Excel 2003
    Posts
    42

    Re: Transpose copying

    But at the moment it is creating a vertical list and I would like to have a horizontal list.

  6. #6
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Transpose copying

    attach a sample file with current and desired table

+ 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