states as capital letters

J

jacob farino

Thanks Charles!
This works for all states EXCEPT states that begin with "i"...any
suggestions?
 
J

jacob farino

Thanks David, I've found a few things very useful on your page!
Here's my current problem.
I followed the UPPER_CASE macro you listed on the below link, and it worked
perfectly when I typed it and hit run. However, excel began saving non-stop.
I had to end task to stop the program. Upon reopen, the macros have been
disabled and I cannot enable them even if I set security to low (i don't
have any signatures on the macro). So how do you suggest this be fixed? (I
have excel2002)
 
D

David McRitchie

Hi Jacob,
There is nothing in the macro to cause a file save.
You must have something else going on, but I don't know what.

The macro you chose is a regular macro and works off of a
selection of cells, as opposed to the event macro below it.
I see from the previous reply that you must have installed all
of the state codes into AutoCorrect, and I don't see how that
could causes saving either.

All I can suggest is to complete exit Excel and try it again.
If you get into Excel and run the macro, rather than just stopping
try DeBug and see what statement it is hung up in -- hopefully,
for me, it won't be my macro.

Right click on the worksheet to see if there is code there.
Rigth click on the icon to left of the menu bar which bring up
"ThisWorkbook" and see if tehre is cde there. Use the [x] in the
upper right corner below the [X] that closes the Visual Basic Editor
to get out of the module.

If you have macros you should set the security to "Medium",
and reply each time you open the workbook. This is for your protection
against opening an Excel file without even realizing you opening an
Excel file, or in opening an Excel file that is not supposed to have
macros -- it gives you a chance to look at the macros. Setting the
security to "High" which is the default prevents macro use altogether.
When you change the setting, you have to exit the wrkbook and open it again.



--
 
A

AlfD

Hi!

Maybe you should use a dropdown box (powered by Data Validation) to ge
people to select the right abbreviation for the State. You could eve
accompany it with a list of the full names of States to avoid an
confusion/ambiguity/doubt.

Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top