Results 1 to 136 of 136

VBA Transpose

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-14-2016
    Location
    Fareham UK
    MS-Off Ver
    2010
    Posts
    110

    VBA Transpose

    Hi Guys,

    I have been using the below code to transpose some order numbers

    Sub TansposeRange()
    Dim InRange As Range
    Dim OutRange As Range
    Dim i As Long
    
    
    Set InRange = Sheet1.Range("B3:B10002")
    Set OutRange = Sheet2.Range("B2")
    
    
    InRange.Worksheet.Activate
    InRange.Select
    Selection.Copy
    
    
    OutRange.Worksheet.Activate
    OutRange.Select
    
    
    Selection.PasteSpecial Paste:=xlPasteValues, Transpose:=True
    
    
    End Sub
    What I want to know if it is possible to transpose the order numbers into everyother cell?

    many thanks

    Jamie
    Last edited by alansidman; 09-14-2016 at 10:58 AM. Reason: code tags added

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Use the TRANSPOSE() function to transpose a range as an input to the UDF
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-09-2015, 09:35 PM
  2. transpose column to a range calculate and transpose to new table loop
    By moshro1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2015, 10:52 AM
  3. [SOLVED] Excel 2007 : Cut\transpose vs. copy\transpose
    By sarahaley in forum Excel General
    Replies: 3
    Last Post: 05-09-2012, 05:45 PM
  4. [SOLVED] Transpose: How can I copy a list and transpose it but leaving 3 cells in between each item
    By cocolete in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-11-2012, 10:01 AM
  5. Replies: 2
    Last Post: 02-19-2007, 04:53 PM
  6. [SOLVED] Transpose-Transpose I am trying to do the following with no luck. Please Help!!!!! E
    By kadium in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2005, 07:50 PM
  7. I WANT TO TRANSPOSE LINKS, AS WE TRANSPOSE VALUES
    By Umair Aslam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-22-2005, 09:05 AM

Tags for this Thread

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