They should go outside of any Subroutine in a Module (not a workbook o
worksheet). Also, they should be delcared as public:
Public store As Integer
Public loct As Integer
Public res As Integer
Public ng As Integer
--
Message posted from
http://www.ExcelForum.com