+ Reply to Thread
Results 1 to 3 of 3

Active Cell Copy and Paste

  1. #1
    Registered User
    Join Date
    03-26-2014
    Location
    US
    MS-Off Ver
    Excel 2013
    Posts
    2

    Active Cell Copy and Paste

    Hello All,

    Please refer to attached file...

    I need a VBA code that will copy specific cells from Sheet1 (based on active cell selected), and paste them to specific cells on Sheet2. So, If I was to select any of the cells in columns H through S on Sheet1, it would copy that cell, and would also always include cells A, C, and F from the same row. Then paste: cell A from Sheet1 to Sheet2 cell A5; cell C from Sheet1 to Sheet2 cell B7; cell F from Sheet1 to Sheet2 cell D7; and whatever active cell from (H through S) Sheet1 to Sheet2 cell A9.

    Please let me know if you have any questions.

    Thanks,
    darias
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Active Cell Copy and Paste

    Hi, darias,

    if you want to autmate this by starting the macro autmaiclky you might like toi use this (right click on workshete Tab for Sheet1, View Code and paste code into the code window):
    Please Login or Register  to view this content.
    If you want to start the code manually you might like this code in a standard module:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    03-26-2014
    Location
    US
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Active Cell Copy and Paste

    Hi, Holger,

    Code works perfectly... Thank you very much!

    Regards,
    darias

+ 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. [SOLVED] Active Cell Range, With Copy Paste
    By JoshF in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2013, 07:40 PM
  2. [SOLVED] Copy & Paste active row to Sheet 2 without cell borders
    By XxCMoneyxX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2013, 11:10 AM
  3. copy and paste macro using the active cell
    By normanjones4 in forum Excel General
    Replies: 4
    Last Post: 03-02-2007, 01:54 PM
  4. Copy from active sheet and paste into new sheet using info from cell in active
    By Ingve in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2006, 06:00 PM
  5. [SOLVED] Copy Paste from Active cell
    By briank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-06-2005, 07:05 PM

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