Visual basic, form does not show date correctly....

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello guys, i have created a form using Visual Basic, however i have a
problem, just for presentation reasons problem.

When the form comes up, in order to select a date, the date is shown
correctly, but when the date is selected, then a number is shown note a date.
But after when the data is put into an excel sheet , the date is shown
correctly...
The problem is only on the excel Form that comes up...

thanks in advance...
 
Hello guys, i have created a form using Visual Basic, however i have a
problem, just for presentation reasons problem.

When the form comes up, in order to select a date, the date is shown
correctly, but when the date is selected, then a number is shown note a date.
But after when the data is put into an excel sheet , the date is shown
correctly...
The problem is only on the excel Form that comes up...

thanks in advance...

Is it mad because of the order of the list? I'm using military time.
So my list looks like 22,23,0,1,2...,13,14. Wierd though becuase I
don't get a problem until my list gets back to the "2". Meaning my
list works when it's 22,23,0,1 but nothing past "2". Any thoughts??

-BD
 
You need to format it yourself

Format(the_date,"dd mmm yyyy")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Were do you mean should we put this code? In VB?

Bob Phillips said:
You need to format it yourself

Format(the_date,"dd mmm yyyy")

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Yes, in the Visual Basic code you are using with the form.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
i cant do it correctly , i input the code, but always an error message
appears..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top