Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tarns
 
Posts: n/a
Default Whats going on with this column display?


Somehow when my macro inserts a timestamp in a cell, it randomly gives
me a reveresed date and the time is missing. See attachment,

All cells in the column are left justified, wrap text enabled and are
of the Number-Category= DATE type. eg. The format of the field is set
correctly and the time is not out of view.... its missing somehow.

also, copying the text time/date from the valid cell above it does
display correctly in the weird cell.

any ideas?


+-------------------------------------------------------------------+
|Filename: step1.JPG |
|Download: http://www.excelforum.com/attachment.php?postid=4444 |
+-------------------------------------------------------------------+

--
tarns
------------------------------------------------------------------------
tarns's Profile: http://www.excelforum.com/member.php...o&userid=32291
View this thread: http://www.excelforum.com/showthread...hreadid=521315

  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Whats going on with this column display?

I can only suggest to you add the code to format the cell:

Selection.NumberFormat = "dd/mm/yyyy hh:mm:ss AM/PM"

I couldn't reproduce the problem; Copying will copy the format as well so
will get the result you see when you copy from cell above.

"tarns" wrote:


Somehow when my macro inserts a timestamp in a cell, it randomly gives
me a reveresed date and the time is missing. See attachment,

All cells in the column are left justified, wrap text enabled and are
of the Number-Category= DATE type. eg. The format of the field is set
correctly and the time is not out of view.... its missing somehow.

also, copying the text time/date from the valid cell above it does
display correctly in the weird cell.

any ideas?


+-------------------------------------------------------------------+
|Filename: step1.JPG |
|Download: http://www.excelforum.com/attachment.php?postid=4444 |
+-------------------------------------------------------------------+

--
tarns
------------------------------------------------------------------------
tarns's Profile: http://www.excelforum.com/member.php...o&userid=32291
View this thread: http://www.excelforum.com/showthread...hreadid=521315


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
how to display the column or cell the MIN() result came from? Fadi Excel Worksheet Functions 4 March 2nd 06 09:17 PM
how can i multiply two columns edgar Excel Worksheet Functions 7 March 2nd 06 03:29 PM
display last cell in a column as the sheet is updated Marc Excel Worksheet Functions 1 February 17th 06 09:12 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM


All times are GMT +1. The time now is 01:31 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"