i'm automating excel, using the macro system as a guide to what i should do through automation. When i format a column as a date, the macro generated a NumberFormat
for the column to be:
[$-409]m/d/yy h:mm AM/PM;@
i'm trying to decipher what this really means. i gather from googling, that the values in the square brackets are a "condition", and that if the condition:
$-409
is met, then it will use the NumberFormat
m/d/yy h:mm AM/PM
if not, it uses the NumberFormat
@
The references i find say that the number format "@" is a Text Placeholder
So my questions are:
What is the conditional $-409 testing? Is it comparing something against -409 (i.e. negative four hundred and nine), and if so, what is the dollar sign it's comparing against?
If the conditional fails, and it resorts to the Text Placeholder "at-sign", what does it show as?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…