LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default time userform 12:00 changes in 00:05

Hello,

I have the following problem.
In a userform i have a textbox with contain a time value.
if i fill in the time value 12:00 and save the time the time i correct given
in the excel sheets.
After loading the form again i get 00:05 for 12:00.

if i change the time to 12:01, the time value is correct. Even with 13:00 of
14:00 but not 12:00.
I use the following code:

TextBox6.Value = b6
TextBox6.Value = Format(Me.TextBox6.Value, "h:mm")

B6 is the cell value

can anyone help me

THanks


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
display userform at certain time Anthony Excel Worksheet Functions 2 October 29th 08 04:21 PM
Userform Defaults Text Box with Time Matt[_39_] Excel Programming 5 August 2nd 06 06:36 PM
Time Userform dok112[_39_] Excel Programming 1 July 13th 05 08:33 PM
Userform - Entering Time TEB2 Excel Programming 6 April 25th 05 07:49 PM
Converting Time in a userform tiptop[_8_] Excel Programming 2 July 27th 04 07:58 AM


All times are GMT +1. The time now is 10:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"