+ Reply to Thread
Results 1 to 3 of 3

Cut, Paste, and Transpose data from one worksheet to a second worksheet

Hybrid View

dwoychowski Cut, Paste, and Transpose... 01-04-2021, 02:11 PM
dangelor Re: Cut, Paste, and Transpose... 01-04-2021, 09:56 PM
Sintek Re: Cut, Paste, and Transpose... 01-05-2021, 03:25 AM
  1. #1
    Registered User
    Join Date
    01-04-2021
    Location
    Tampa, FL
    MS-Off Ver
    2012
    Posts
    1

    Cut, Paste, and Transpose data from one worksheet to a second worksheet

    I am very new to macros so any help is greatly appreciated.

    Sheet 1: "Client Info"
    Cells with required data: D7:D31, D34:D39

    Sheet 2: "Tracking"
    Cells were data needs to go on new sheet: A2:AK2, and then subsequent rows if any data is in previous row.


    The idea is, someone would fill out the "Client Info" worksheet, run the Macro, and the data would then be transferred to the "Tracking" worksheet to the next row.

    As I stated before, any help is greatly appreciated.
    Thanks!

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    MS365 V.2406
    Posts
    2,308

    Re: Cut, Paste, and Transpose data from one worksheet to a second worksheet

    Possibly...
    Sub Test()
        Dim lRow As Long
    
        With Worksheets("Tracking")
            lRow = .Cells(Rows.Count, 1).End(xlUp).Row + 1
            .Cells(lRow, 1).Resize(, 25) = Application.Transpose(Worksheets("Client Info").Range("D7:D31"))
            .Cells(lRow, 26).Resize(, 6) = Application.Transpose(Worksheets("Client Info").Range("D34:D39"))
        End With
    End Sub

  3. #3
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Cut, Paste, and Transpose data from one worksheet to a second worksheet

    Another option...
    Sub sintekJ3v16()
    Sheets("Client Info").Range("D7:D31,D34:D39").Copy
    Sheets("Tracking").Range("A" & Rows.Count).End(xlUp)(2).PasteSpecial , , , True
    End Sub
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to Copy, transpose paste into master worksheet as apart of a table ?
    By northernwarrior in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2020, 02:44 PM
  2. [SOLVED] Copy, paste and transpose selected data to new worksheet based on conditions
    By Grilleman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2019, 12:59 PM
  3. [SOLVED] VBA Paste Transpose Into New Worksheet First Open Row
    By bigtunelover in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-03-2019, 06:40 PM
  4. Copy Highlighted Data from Worksheet and Paste to a New Worksheet in another workbook
    By kingsdime29x in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2018, 10:56 PM
  5. [SOLVED] Excel 2007: Copy Column to another worksheet, transpose paste
    By wendie1970 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-04-2012, 03:54 PM
  6. [SOLVED] Copy data from a worksheet and paste to worksheet with a similar worksheet name
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-21-2012, 04:02 AM
  7. Copy data from a worksheet and paste to worksheet with a similar worksheet name
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2012, 02:49 AM

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