+ Reply to Thread
Results 1 to 7 of 7

Paste special as values code not working?

  1. #1
    Registered User
    Join Date
    09-18-2008
    Location
    Devon
    MS-Off Ver
    2002
    Posts
    71

    Paste special as values code not working?

    Hi all, I am using the following code:

    Please Login or Register  to view this content.
    In my macro to get the results of a formula that calculates dates to just paste back the resulting values, but it doesn't appear to work. Can anyone tell me what's wrong please?

    Helen
    Last edited by HelenW; 12-05-2008 at 08:04 AM.

  2. #2
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    There is nothing wrong with the formula...
    What the error u r getting.

  3. #3
    Registered User
    Join Date
    09-18-2008
    Location
    Devon
    MS-Off Ver
    2002
    Posts
    71
    No error, but it just doesn't paste the values - it still displays the formula when you click the cell. I just want it to paste the result of the formula i.e. a date in the format dd/mm/yyyy and no longer have the formula "in the background" as it were.

  4. #4
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    I check the code on my system it working.

    Can you post the workbook as attachment, so that I can check why its not working.

  5. #5
    Registered User
    Join Date
    09-18-2008
    Location
    Devon
    MS-Off Ver
    2002
    Posts
    71
    Have attached it as requested - I am trying to get the values to display in column L.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    Hi,

    In the sheet attached, I see that the date formula is in column L and not in column M

    Use the below code it should work
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-18-2008
    Location
    Devon
    MS-Off Ver
    2002
    Posts
    71
    Oh, I am an idiot! Sometimes it takes that extra pair of eyes to spot the obvious mistake LOL

    Thanks!!

+ 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