Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
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... |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
On Nov 1, 9:45 am, Haris wrote:
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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
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) "Haris" wrote in message ... 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... |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
Were do you mean should we put this code? In VB?
"Bob Phillips" wrote: 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) "Haris" wrote in message ... 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... |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
So i suppose there is no answer on this? |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
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) "Haris" wrote in message ... Were do you mean should we put this code? In VB? "Bob Phillips" wrote: 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) "Haris" wrote in message ... 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... |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Visual basic, form does not show date correctly....
i cant do it correctly , i input the code, but always an error message
appears.. "Bob Phillips" wrote: 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) "Haris" wrote in message ... Were do you mean should we put this code? In VB? "Bob Phillips" wrote: 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) "Haris" wrote in message ... 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... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
visual basic | Excel Discussion (Misc queries) | |||
error 336 (visual basic) ActiveX component not correctly registered | Excel Discussion (Misc queries) | |||
visual basic user form date format dd/mm/yy not mm/dd/yy | Excel Discussion (Misc queries) | |||
changing the visual basic in office 2003 to visual studio net | Excel Discussion (Misc queries) | |||
Visual Basic | Excel Discussion (Misc queries) |