Computing.Net > Forums > Office Software > force english excel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

force english excel

Reply to Message Icon

Name: mherber2
Date: October 10, 2007 at 07:50:34 Pacific
OS: xp
CPU/Ram: unknow
Product: not important
Comment:

ok what im looking to do is some how either block a language or allow only certian languages in excel. is there an option for this or can it be done in vb or can it be done at all????



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: October 10, 2007 at 09:10:49 Pacific
Reply:

The only way I can think of doing it would be to SpellCheck each entry with an English SpellChecker as soon as it was entered. You could then delete the contents and/or present a MsgBox to the user.

However, certain words, like adios and jour are not flagged as misspelled words. It's also going to catch English misspellings upon entry, so your MsgBox might have to be customized to fit.

Right Click the sheet tab, chose View Code and paste this in. Then enter some non-English words in any cell.

Private Sub Worksheet_Change(ByVal Target As Range)
If Application.CheckSpelling(Target) <> True Then
MsgBox "Non-English Languages Not Allowed"
Target = ""
End If
End Sub



0

Response Number 2
Name: mherber2
Date: October 10, 2007 at 13:41:53 Pacific
Reply:

Does anyone know another way?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: force english excel

code carriage return win excel cell www.computing.net/answers/office/code-carriage-return-win-excel-cell/3207.html

Excel, Arial font showing 'Navadno' www.computing.net/answers/office/excel-arial-font-showing-navadno/5375.html

Excel formula www.computing.net/answers/office/excel-formula/1824.html