+ Reply to Thread
Results 1 to 3 of 3

Macro to copy selected cell and paste value

  1. #1
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Macro to copy selected cell and paste value

    Hello,

    I use few cells with formula and I would need when I click on the cell to run a macro that would copy the selected cell and do a paste value.

    Would you know how to do that?

    Thanks,
    Graig

  2. #2
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Macro to copy selected cell and paste value

    You can use this code in a standard module, and then add a button to your Quick Access Toolbar that will run the macro. The selected cells will then be converted to values.

    Please Login or Register  to view this content.
    Another quick trick without the need for the macro is to:
    1. Select the cells to convert to values
    2. Move your mouse over the border of the selected
    3. Drag the range (with the right mouse button) off the selection and immediately back on the selection (without releasing the right mouse button)
    4. In the context menu that pops up, select "Copy here as values".
    Regards,
    Rudi

  3. #3
    Forum Contributor
    Join Date
    02-21-2007
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    389

    Re: Macro to copy selected cell and paste value

    Many Thanks! Perfect!

+ 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] Macro to copy selected cell and paste into another (defined) cell.
    By Barking_Mad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2014, 11:36 AM
  2. [SOLVED] Need MACRO to copy the text in the cell left of first selected cells (a column), paste all
    By joobeng in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-16-2013, 06:42 AM
  3. [SOLVED] Macro to copy and paste selected cell to a table.
    By JohnDoh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-24-2013, 03:13 AM
  4. Macro to copy paste values of a Row based on the cell selected in that row
    By boscoamd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-13-2012, 04:56 AM
  5. macro to copy and paste into a selected cell?
    By jpisconti in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-09-2009, 07:03 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