Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Date anomaly

Hi Nick,

I agree on the expected 1, formatted as date in the 'anomaly cells'. But
your code
puzzles me. Does it work on your computer?

Frans

"Nick Hodge" schreef in bericht
...
DP

Your code must be returning a 1 somehow which is converted to that date
(Day 1 in xl = 1/1/1900, you must explicitly test for the blank cell and
then return a blank cell on that test

If Range("A1").Value="" Then
'My destination range =""
Range.Offset (0,1).Value=""
End If

--

HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk
blog (non tech): www.nickhodge.co.uk/blog


"HaoHoaMastercard" wrote in message
t...
My spreadsheet has a couple of date columns. Some of the rows would have
no date in it. However, after running the macros - which uses these cell
value as "blank", the date of "1/1/1900" appearred in those blank cells
and I could not make it disappear.

Do you have any suggestion to make that date disappear? Since I am using
VBA, I would prefer some command scripts that would turn those cells
"off".

Thanks in advance.

DP






 
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
Sort anomaly supersheet Excel Worksheet Functions 0 August 28th 07 06:57 PM
Validation Rule anomaly Bob Excel Worksheet Functions 6 March 8th 07 08:36 PM
Anomaly with Chart Labels D. Bishop Charts and Charting in Excel 1 September 20th 05 01:36 PM
Another SUMPRODUCT array anomaly Jerry W. Lewis Excel Worksheet Functions 6 May 13th 05 06:42 PM
VLOOKUP Anomaly Tosca Excel Worksheet Functions 6 May 8th 05 09:08 AM


All times are GMT +1. The time now is 01:12 PM.

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

About Us

"It's about Microsoft Excel"