P
Pedro
I am declaring it in the standard module
Chip Pearson said:Pedro,
Are you declaring the variable in a standard code module, rather than a
sheet's code module or a form or ThisWorkbook?
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com