View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
merjet merjet is offline
external usenet poster
 
Posts: 812
Default Userform Initialize & Command Button, Excel 2000 & 2003

Put the declaration -- Dim varData(10) As Variant -- before any
procedures. That makes it available to all procedures in the module.

Hth,
Merjet