+ Reply to Thread
Results 1 to 3 of 3

Basic copy paste macro not working

  1. #1
    Registered User
    Join Date
    08-05-2016
    Location
    Sydney
    MS-Off Ver
    2019
    Posts
    36

    Basic copy paste macro not working

    Hello,

    referring to the spreadsheet attached. I am inputting basic data in column C3:C9, and outputting that data in row B14:F14.
    I tried to create a macro that once I hit copy paste values (I want to copy paste special i.e. values), I want to copy the output data into a new row.

    Then as I change the inputs, employee name, hourly rate etc, the table output will update, so then I want to then hit the copy paste values macro to then paste the new information in another row below the previously pasted data.

    Hope that makes sense, thanks in advance.
    -G
    Attached Files Attached Files
    Last edited by geeman86; 05-16-2023 at 09:02 AM. Reason: solved

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hello, try this !


    According to your attachment a VBA demonstration for starters :

    PHP Code: 
    Sub Demo1()
        
    Rows(Application.Max(Cells(Rows.Count2).End(xlUp)(2).Row18)).Columns("B:F") = [B14:F14].Value
    End Sub 
    ► Do you like it ? ► So thanks to click on bottom left star icon « Add Reputation » !

  3. #3
    Registered User
    Join Date
    08-05-2016
    Location
    Sydney
    MS-Off Ver
    2019
    Posts
    36

    Re: Basic copy paste macro not working

    Thank you Marc, that works!

+ 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. copy & paste macro not working
    By markswan111 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-26-2023, 10:15 PM
  2. Copy and paste special macro not working
    By AndyF19 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2016, 11:37 AM
  3. Create basic Filter and copy/paste macro
    By Ali_Brown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2016, 09:42 AM
  4. Excel Copy and Paste Macro not working
    By LewisLonsdale in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2015, 01:14 PM
  5. Copy paste - cute paste macro almost working
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2014, 12:33 PM
  6. [SOLVED] Find, then copy and paste macro not working
    By ufopilot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-13-2014, 06:46 AM
  7. copy paste macro not working
    By nicko54 in forum Excel General
    Replies: 1
    Last Post: 01-05-2011, 05:25 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