in all other versions of vb from vb3 to vba in 2007, NOW is a function that returns a date string that must be formatted to express the date and time as the user wishes..
is this not the case with your basic... i.e.
something takes the return value of the function NOW
S=now()
the brackets matter as you are calling a function even though it requires no parameters they simply signal the functioness rather than subroutiness of the token NOW
normally you need to specify what the returned date-time thing should look like...
e.g S=format(now(),"dd/mm/yy hh:mm:ss")
or some such
hope this helps
Enter your message below
Sign in or Join us (it's free).