+ Reply to Thread
Results 1 to 5 of 5

Paste values instead of formulas

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    38

    Paste values instead of formulas

    Hi Team,

    i am managed to write a macro to which performs certain steps and finally i am copying the data from one sheet to another sheet.

    But i am facing problem while copying the data between two sheets as while copying it is copying formulas not the values available in each row.

    example :

    i have two sheets : "Source" and "Destination"

    "Source" sheet contains data along with the formulas in it. now i am copying data from sheet "Source" to "Destination" , the values are not copying , it is copying with formulas hence the data is showing in the "Destination" sheet as "#REF"

    Below is the sample line of code i am using to do this operation. Can you please help me to correct the code so that while copying it should copy the values available in the "Source" sheet.

    Sheets("Source").Columns.Range("A2:A75000").Copy Sheets("Destination").Range("A2")

    Regards,
    Kamal M.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,917

    Re: Paste values instead of formulas

    You can use:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-23-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    20

    Re: Paste values instead of formulas

    Please check if your destination excel sheet has the same columns and rows available. Sometimes it contains only 65000 rows.
    As this is the #REF error, the reference cell is not available in your destination sheet.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Paste values instead of formulas

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    38

    Thumbs up Re: Paste values instead of formulas

    Hey Rorya...

    Thanks a lot for your quick help on this. This works fine.

    thanks once again.

    Regards,
    Kamal M.

+ 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] VBA to Paste Values not Formulas.
    By hwatson86 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-05-2016, 06:27 PM
  2. Copy Formulas and Paste into the Last Set # of Rows Only & Paste Values
    By Mr. Ice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2014, 07:48 AM
  3. [SOLVED] Changing Current Code from Paste Formulas to Paste Values
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-24-2013, 12:33 PM
  4. paste values only not formulas
    By tjjersey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2013, 01:12 PM
  5. [SOLVED] Macro to paste formulas then paste values
    By deanstein in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2013, 11:30 AM
  6. Paste VALUES...not FORMULAS
    By HuskerBronco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2007, 01:20 PM
  7. How can I paste formulas only an not values
    By RAD in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-12-2005, 10: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