Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2006

Tip: Looking for answers? Try searching our database.

Force English formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Justin366E@yahoo.com - 31 Oct 2006 20:31 GMT
I have an application used by both English and European clients.  This
is significant because often when European clients are entering Data
into the TextBoxes, they will accidentally enter it in the format that
they are used to:   1,000.00 in EU formatting = 1.000,00.   This of
course screws up my whole application.

How should I go about safe-guarding this from happening?
Justin366E@yahoo.com - 31 Oct 2006 20:39 GMT
More Info:  What I'm looking for is not a way to safe-guard entering
the info in the TxtBox wrong, but more of a way to convert it if it is
sitting in the cell wrong upon Worksheet Open... Some European clients
enter data in Europe where that is the acceptible format, and then when
it's opened in the US, the data opens as 1000,50 instead of 1000.50,
and it crashes my application.

Justin3...@yahoo.com wrote:
> I have an application used by both English and European clients.  This
> is significant because often when European clients are entering Data
[quoted text clipped - 3 lines]
>
> How should I go about safe-guarding this from happening?
Ron de Bruin - 31 Oct 2006 20:53 GMT
Be sure that the cell is not text then Excel will change it when you open it in the US

Here is a formula to convert the textvalue in I2 to US

=IF(ISERR(I2*1),IF(ISERR("1.2"*1),SUBSTITUTE(SUBSTITUTE(I2,",",""),".",",")*1,SUBSTITUTE(SUBSTITUTE(I2,".",""),",",".")*1),I2*1)

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> More Info:  What I'm looking for is not a way to safe-guard entering
> the info in the TxtBox wrong, but more of a way to convert it if it is
[quoted text clipped - 11 lines]
>>
>> How should I go about safe-guarding this from happening?
Sandy Mann - 31 Oct 2006 22:49 GMT
Ron,

Won't ISERR("1.2"*1) always return FALSE regardless of the entry in I2?  At
least it seems to for me.  That being the case, may I ask what is its
function in your formula?

Signature

Puzzled

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace@mailinator.com with @tiscali.co.uk

> Be sure that the cell is not text then Excel will change it when you open
> it in the US
[quoted text clipped - 18 lines]
>>>
>>> How should I go about safe-guarding this from happening?
Ron de Bruin - 31 Oct 2006 22:59 GMT
Hi Sandy

"1.2"*1 give a error on my Dutch machine because we use 1,2
This way the If statment know what to do

On my Dutch machine the English text 123.45 will be the value 123,45
On my English machine the Dutch text 123,45 will be value 123.45

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> Ron,
>
[quoted text clipped - 22 lines]
>>>>
>>>> How should I go about safe-guarding this from happening?
Sandy Mann - 31 Oct 2006 23:48 GMT
Hi Ron,

Ah Yes! I see now - an international formula - clever

Signature

Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

sandymann2@mailinator.com
Replace@mailinator.com with @tiscali.co.uk

> Hi Sandy
>
[quoted text clipped - 3 lines]
> On my Dutch machine the English text 123.45 will be the value 123,45
> On my English machine the Dutch text 123,45 will be value 123.45
Ron de Bruin - 31 Oct 2006 23:59 GMT
Hi Sandy

>an international formula - clever

We (Norman and me) use it in the Beta DataRefiner add-in
http://www.rondebruin.nl/datarefiner.htm

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> Hi Ron,
>
[quoted text clipped - 7 lines]
>> On my Dutch machine the English text 123.45 will be the value 123,45
>> On my English machine the Dutch text 123,45 will be value 123.45

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.