+ Reply to Thread
Results 1 to 2 of 2

(Paste:=xlPasteAll, Operation:=xlAdd) | generates year = 2127

  1. #1
    Registered User
    Join Date
    08-09-2013
    Location
    Mechanicsburg, PA
    MS-Off Ver
    Excel 2013
    Posts
    1

    (Paste:=xlPasteAll, Operation:=xlAdd) | generates year = 2127

    Dear Readers,

    I have an issue where my macro is changing the standard "mm/dd/yyyy hh:mm" Number Format into the year 2127. My Macro is below:

    Please Login or Register  to view this content.
    My Database generates the date (2013-07-19 12:41) which is incalculable against other dates. When I copy a blank cell, select the row, paste special "Add", excel transforms the number into (02/13/2127 22:13).

    If someone could kindly offer an explanation or solution on how to convert my date and time field into a calculable cell I would be extremely grateful for your knowledge and advice.
    Last edited by Bscgo024; 08-09-2013 at 09:44 AM. Reason: As per Forum Rule #3, please use code tags…Thanks.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: (Paste:=xlPasteAll, Operation:=xlAdd) | generates year = 2127

    You don't specify what's in A5000, nor why you're adding it to dates in column I.
    Ben Van Johnson

+ 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. Comparing two sheets and perform copy paste operation
    By kmlprtsngh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2010, 04:56 AM
  2. EXCEL - PASTE SPECIAL COULD HAVE AN OPERATION TO REVERSE ORDER
    By sk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2006, 05:10 PM
  3. [SOLVED] Curious operation of Paste
    By Fred Smith in forum Excel General
    Replies: 1
    Last Post: 03-24-2006, 08:10 AM
  4. [SOLVED] Copy/Paste operation
    By Saxman in forum Excel General
    Replies: 3
    Last Post: 12-15-2005, 12:55 PM
  5. [SOLVED] how to autofill formular, stick, based on paste operation ?
    By RompStar in forum Excel General
    Replies: 0
    Last Post: 04-07-2005, 07:06 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