Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Date formatting

Hi,

I asked this question a long time ago and can no longer find the answer (or
the file that I used it in) so I'd appreciate a reminder....

I've built an excel tool for our department that asks the user to enter the
data via a series of forms, the problem I'm having is with the dates. Excel
seems to be fairly abitrary about whether it is going to interpret a date as
US or UK format... when it's obvious (30/06/05 for example) it will use the
UK format and take it as 30th June, yet if the next entry is 01/07/05 it uses
the US format and takes it as 7th January.

Entry is through a textbox, I just can't figure out how to format it before
it misinterprets it.

Excel 97 on xp

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Date formatting



"Gary L Brown" wrote:

Check your settings in the 'Regional Options' of your Windows 'Control
Panel'. Check that the settings are appropriate for your region which, I'm
guessing, is not the US.
HTH,
--
Gary Brown



Thanks Gary, but that's not the answer.

Formatting cells, columns and changing regional setting makes no
difference.... the string needs to be formatted before it reaches the
worksheet. Is it possible to apply a format to the textbox on the userform
so that excel knows how to interpret it?
Reply
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
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
Date Formatting DaveMoore Excel Worksheet Functions 2 March 24th 10 05:41 PM
Formatting changes date JacyErdelt Excel Discussion (Misc queries) 1 March 25th 09 10:21 PM
Date Formatting Neil Excel Discussion (Misc queries) 6 December 4th 04 06:57 PM
Date Colum Date Formatting & Validation Mike[_81_] Excel Programming 1 June 7th 04 01:59 AM


All times are GMT +1. The time now is 06:14 AM.

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"