Put the code in the Userform Module code.
If you use Excel 97 then you will need to change the Enum bit to
Constants.
Just remove the
Private Enum ESetWindowPosStyles
and
End Enum
--
Ivan F Moala
------------------------------------------------------------------------
Ivan F Moala's Profile:
http://www.excelforum.com/member.php...fo&userid=1954
View this thread:
http://www.excelforum.com/showthread...hreadid=379526