Results 1 to 3 of 3

Macro to transpose data into new row on a different sheet?

Threaded View

  1. #1
    Registered User
    Join Date
    02-07-2020
    Location
    Australia
    MS-Off Ver
    Excel
    Posts
    2

    Question Macro to transpose data into new row on a different sheet?

    Hello!

    I've been struggling all day with this, being very new to VBA. Could someone please look at my code and tell me where I'm going wrong?

    I'm trying to re-engineer the data collection system at work, where data is collected into a generic table in A and accumulates in B, ordered by date (where the table in sheet A is cleared every day). I've gotten as far as the code below, which does what I want except it puts it right at the bottom of the sheet (row 1048576). I don't know how to implement "transpose data into the next empty row".


    Worksheets("dbh").Range("O7:O33").Copy Worksheets("cbh").Range("A" & Rows.Count).PasteSpecial Paste:=xlPasteValues, Transpose:=True Application.CutCopyMode = False
    Thank you for any and all help!
    Last edited by Pepe Le Mokko; 02-07-2020 at 03:17 AM. Reason: Code tags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to Transpose and Copy Data to Output Sheet
    By rehana402003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2017, 10:36 AM
  2. [SOLVED] Macro to Transpose and Copy Data to a New Sheet
    By rehana402003 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-02-2017, 04:55 PM
  3. Macro to transpose the data from tab to another sheet
    By young_86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2016, 01:22 PM
  4. Transpose data to another sheet using macro
    By geliedee in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-29-2015, 03:49 PM
  5. Macro to transpose data from one sheet to another
    By Cupragsw in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-26-2013, 12:17 PM
  6. [SOLVED] Macro to transpose vertical data horizontally from one sheet to another
    By Scott_88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2013, 06:27 AM
  7. [SOLVED] Manipulate and transpose data to another sheet via a Macro
    By Phil_MacRae in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-12-2012, 02:22 PM

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