Keith,

make sure you're script doesn't display the message after the target date was reached or you could get messages saying "Only -13 days until the annual Corporate Conference" [Wink]

So (not tested):

code:
cls break on
$dif=265-@ydayno
$str1='Only '
$str2='until the annual Corporate Conference.'
$str=''
select
case $dif=0
$str='Whahoo, Let's Party!!!'
case $dif=1
$str=$str1+'1 day '+$str2
case $dif>1
$str=$str1+$dif+' days '+$str2
case 1
endselect
if $str<>''
$rc=messagebox($str,'?? Party Time ??')
endif
exit 0

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...