Good evening Marcia 3641
When your VBA code halts the execution and throws you back to your code
you can be sure there's an error. The yellow box is simply highlighting
the line that Excel cannot interpret. In this case it is the command
"Upload Me". Try changing it to "Unload Me" - a command which will
remove the userform from memory which is what you're trying to do.
HTH
DominicB
--
dominicb
------------------------------------------------------------------------
dominicb's Profile:
http://www.excelforum.com/member.php...o&userid=18932
View this thread:
http://www.excelforum.com/showthread...hreadid=389149