Results 1 to 9 of 9

Transposing data from Row to Column drama's

Threaded View

coreytroy Transposing data from Row to... 04-23-2013, 12:08 AM
JapanDave Re: Transposing data from Row... 04-23-2013, 12:20 AM
coreytroy Re: Transposing data from Row... 04-23-2013, 01:02 AM
JapanDave Re: Transposing data from Row... 04-23-2013, 01:08 AM
coreytroy Re: Transposing data from Row... 04-23-2013, 01:11 AM
JapanDave Re: Transposing data from Row... 04-23-2013, 01:21 AM
coreytroy Re: Transposing data from Row... 04-23-2013, 01:36 AM
JapanDave Re: Transposing data from Row... 04-23-2013, 02:49 AM
coreytroy Re: Transposing data from Row... 04-23-2013, 03:46 AM
  1. #1
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Transposing data from Row to Column drama's

    I am trying to transpose some data in a found row to a sheet column (C), but cannot get the syntax correct.
    Sub TIMELINE_IMPORT_DATA()
    ' RE-POPULATE TIMELINE DATA
    Application.ScreenUpdating = False
    Dim TL Variant
       On Error Resume Next
       Sheets("DATA").Visible = True
        With Sheets("DATA").Range("A:A") ' Search  ID'S
        Set TL = .Find(What:=Val(Sheets("TIMELINE").Range("A2").Value), After:=.Cells(1), LookIn:=xlValues, LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False)
        If TL <> "" Then
            Dim i As Long
            For i = 668 To 773
           Sheets("TIMELINE").Range("C7:C112").Value = Application.WorksheetFunction.Transpose(TL.Offset(0, i).Value)
     End If
    End With
    Sheets("DATA").Visible = xlVeryHidden
    End Sub
    The only result is a column full of Zero's for some reason.
    Last edited by coreytroy; 04-23-2013 at 12:27 AM.

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