Hi Hans!
I think there's a way. But this is not exhaustively tested.
It seems that the UDFs don't act the same way as Built in Functions.
If you use upper case in the UDF and when you enroll the function in
the function categories you can enter in lower or upper case and that
will stick. That "stick" will hold for anywhere in the workbook or
another workbook and will also change the case of the function if used
in a workbook that you open.
I did think that enrolling in uppercase would force a switch but that
process only seems to affect the case in the Function selection wizard
dialog.
You can stop the sticking by closing Excel and re-starting. So if
you've used your EF a lot:
Close the workbook
Close Excel
Open Excel
In a new workbook, use the function EF
Now open your original workbook and the lower case ef should all be
changed to upper case.
It now occurs to me that we might be able to emulate the switch case
approach of Excel functions if we use those functions in the
Personal.xls or Addin that creates them. I've not tried this yet but
it looks like it should work.
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
(e-mail address removed)
Excel and Word Function Lists (Classifications, Syntax and Arguments)
available free to good homes.
Hans Knudsen said:
Hello
I made a UDF and wanted to name it EF (uppercase). However, first
time I entered the function, I happened by mistake to enter ef