J
John Davies
HOW CAN I MAKE A SINGLE CELL IN EXCEL DISPLAY UPPERCASE ONLY
Bob Phillips said:Hi John,
The code I gave you is worksheet event code. There is a property called
EnableEvents which can be turned on or off. If Off, the event will not fire,
so nothing happens. If you look at the code you will see
Application.EnableEvents = False
at the start, and
Application.EnableEvents = True
at the end. This is done to stop events cascading from our code.
The immediate window is a window in the VB IDE (Alt-F11). You open it from
the View>Immediate Window (or Ctrl-G). This allows you test things out in
immediate mode, or look at variables when stepping through code.