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: 8
Default Formatting userform textbox - help required

Hello All

I have created a command button which when clicked enters the date and time
into a textbox on my userform by using a sub - TextBox1.value=Now()

My problem is it enters in M/D/YYYY_H:M:S format and, being British, I
require D/M/YYYY_H:M:S format.

As I could not find a way of altering the date property of the text box I
attempted to add TextBox1.Format=D/M/Y_H:M:S into my sub but this only
created an error!

Could someone please advise on the correct method of acheiving what I
equire

TIA

Kenny


 
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
userform textbox Phil Excel Worksheet Functions 5 January 16th 05 06:59 PM
Formatting number in a UserForm TextBox John Pierce Excel Programming 3 January 26th 04 04:57 PM
formatting text in TextBox in UserForm Kevin Excel Programming 2 November 7th 03 01:34 PM
Calculating a textbox on a userform Patrick Simonds Excel Programming 3 November 7th 03 06:07 AM
UserForm TextBox to ActiveSheet TextBox over 256 characters Dan E[_2_] Excel Programming 1 July 28th 03 07:36 PM


All times are GMT +1. The time now is 01:35 AM.

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

About Us

"It's about Microsoft Excel"