Morning All,
I'd like to make this statement non case sensitive, so it makes no difference whether the 'C' is Capital or otherwise:
Please Login or Register to view this content.
Any ideas?
Morning All,
I'd like to make this statement non case sensitive, so it makes no difference whether the 'C' is Capital or otherwise:
Please Login or Register to view this content.
Any ideas?
Please Login or Register to view this content.
Please Login or Register to view this content.
Last edited by sintek; 05-02-2017 at 04:11 AM. Reason: Code tags
Good Luck
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the star to left of post [Add Reputation]
Also....add a comment if you like!!!!
And remember...Mark Thread as Solved.
Excel Forum Rocks!!!
or try this:
Please Login or Register to view this content.
@sintek
Should it not be?
If Ucase(?) = "C69336"
Click *Add Reputation to thank those who helped you. Ask if anything is not clear
@ kev_ To be or not to be...Right you are...
So like such?Please Login or Register to view this content.
Last edited by sintek; 05-02-2017 at 04:12 AM.
No real benefit to Ucase("C69336") since it's already in upper case.
Don
Please remember to mark your thread 'Solved' when appropriate.
@sintek
"C69336" is already upper case - so it does not require wrapping in Ucase function - it is not incorrect, just unnecessary
If Ucase(Textbox1) = "C69936" ....
Is same test as
If Lcase(Textbox1) = "c69936" ....
Thanks All,
I've pasted 'Option Compare Text' at the top of my user Forms, of which there is 7, which works great. It's obviously better to paste it into a module which will then affect all the user forms?
However, I have 5 modules, does it make a difference which one I paste it into? Or should I take all the information from the modules and paste them into 1 module?
Cheers
@ kev_ & xlnitwit
Of course...Thanks
Thanks xlnitwit. I've read that a module has a 64K limit although this is questioned by some users. Should I put my code into a generic module rather than have them spread out?
What do you prefer?
A module does indeed have a limit of about 64K. Personally I have never got near that limit.
My preference is to group related procedures in the same module and keep common functions (those which are called from many other routines) in their own separate module(s).
Try this.
Please Login or Register to view this content.
If posting code please use code tags, see here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks