+ Reply to Thread
Results 1 to 2 of 2

Dates shifted about copying sheet to new workbook

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    Houston, TX
    MS-Off Ver
    Excel 2013
    Posts
    3

    Dates shifted about copying sheet to new workbook

    Hi all,

    I've a mystery I had try to solve for some time and can't figure out where to start. I inherited a very simple single-sheet Excel file with names and dates in it. When I make a copy of this sheet to a new workbook, all dates are shifted by roughly 4 years (e.g. 1/28/2014 becomes 1/27/2010). I tried to insert a couple blank sheets and move the data sheet (instead of copying it) to a new workbook to no avail. I have examined the date field and found the issue in the source file. When I change the format of the cell with 1/28/2014 in it to "general", I get 40205 (incorrect) instead of 41667 (correct). And when I change the cell format back to date, I get 1/28/2014 once again. If I change the cell value to 41667, I get 1/29/2018. Anyone has any idea what I can do to fix this problem?

    Thanks.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,810

    Re: Dates shifted about copying sheet to new workbook

    You have 1904 date settings in one or other of the workbooks. Look in Excel Options | Advanced | Using 1904 Date System


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Copying data from one workbook sheet to another workbook sheet without overwrriting
    By Amol1988 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-09-2014, 01:58 AM
  2. [SOLVED] Copying specific excel sheet from one workbook to another workbook.
    By shopaholic in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 06-17-2014, 01:55 PM
  3. Copying unprotected data from one sheet of workbook to another workbook
    By rushabh bhansali in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2013, 06:18 AM
  4. Cell reference changes when values on different sheet are shifted?
    By club rat in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-20-2012, 08:31 AM
  5. Cell reference changes when values on different sheet are shifted?
    By club rat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-20-2012, 01:05 AM
  6. [SOLVED] Copying data from workbook/sheets to another workbook/sheet
    By yukon_phil in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2006, 02:35 PM
  7. [SOLVED] When copying dates to another sheet the dates are different
    By Kelly C in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-11-2005, 09: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