+ Reply to Thread
Results 1 to 4 of 4

question on copy and paste

  1. #1
    Registered User
    Join Date
    08-12-2007
    Posts
    6

    question on copy and paste

    When I copy one Excel cell to other cell, it copies the format of the cell, as well as the content. When I want to copy the contents, but not the formats, I have to select "Paste special" -> Paste only "values", or only "formulas".

    Most of the times I just want to copy the values or the formulas, but not the formats of the cells. Can I change the configuration of the standard "Paste" command, so that it just copy the formulas and not the formats?

    Best Regards

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    I don't think its possible to change it so everytime you copy it only pastes the values....of course there are others with more knowledge than me who may be able to help, but if you look here it will give you an idea where you can have a button on your toolbar that when you click it will paste to your chosen cell, so you could copy in your normal way click the destination cell then click the button and it will paste special values only, you can use the macro recorder to record the paste special action and then paste that code to the button.
    Not all forums are the same - seek and you shall find

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning jorgefherrero

    Add this code to each of the workbooks you want to add this functionality to. In the ThisWorkbook module :
    Please Login or Register  to view this content.
    In a normal module :
    Please Login or Register  to view this content.
    This will add a custom toolbar to your workbook on opening with just one button, that will copy formulae only.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  4. #4
    Registered User
    Join Date
    08-12-2007
    Posts
    6

    Thanks a lot for your help!

    I have included the macro, and works perfectly!!

    Thanks a lot to both, Simon Lloyd and dominicb, for your help!!

    Best Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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