Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default File, Save changes all dates in column to 1/0/00, created with VBA


I copy data and format from to a sheet it has regular dates such as
12/4/67. It has format category Date with type 3/14/01. It looks
great. I can copy it etc.

But, when I save the spreadsheet from the menu bar, all of the values
in one of the date columns changes to 1/0/00.

The code I use is:

Sheets(FROM).Select
Range(Cells(ROW1), Cells(ROW2, 32)).Select
Selection.Copy
Worksheets(TO).Activate
Worksheets(TO).Cells(ROW87, 88).Select
ActiveSheet.Paste

What do I do to fix it?

Thank you,
Christopher Lusardi

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default File, Save changes all dates in column to 1/0/00, created with VBA

What cells are you trying to select? It's not clear to me.

Barb Reinhardt



"Chris L" wrote:


I copy data and format from to a sheet it has regular dates such as
12/4/67. It has format category Date with type 3/14/01. It looks
great. I can copy it etc.

But, when I save the spreadsheet from the menu bar, all of the values
in one of the date columns changes to 1/0/00.

The code I use is:

Sheets(FROM).Select
Range(Cells(ROW1), Cells(ROW2, 32)).Select
Selection.Copy
Worksheets(TO).Activate
Worksheets(TO).Cells(ROW87, 88).Select
ActiveSheet.Paste

What do I do to fix it?

Thank you,
Christopher Lusardi


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
file save error: the file or directory cannot be created dublg Excel Discussion (Misc queries) 1 September 25th 06 07:07 PM
Save changes in Excel 97 from file created in 2000 Tom Ogilvy Excel Programming 2 October 4th 05 02:14 PM
Additional file with no extension created during File Save As proc Peter Rooney Excel Discussion (Misc queries) 2 August 11th 05 02:48 PM
Save, Save As, Print Grayed Out when instance created via VBA/VB6 Jake Marx[_2_] Excel Programming 0 September 22nd 03 10:16 PM
Save, Save As, Print Grayed Out when instance created via VBA/VB6 jaf Excel Programming 0 September 22nd 03 09:23 PM


All times are GMT +1. The time now is 08:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"