reporter.ReportEvent micPass ,"Select CheckBox"," Could able to check multiple TPNB's in the Application"
reporter.ReportEvent micFail,"Select CheckBox"," Could not able to check multiple TPNB's in the Application"
I was able to reproduce your error. Your code is flawed. You must always reference an array variable using its subscript or it stops being an array. Once it stops being an array, you get a Type Mismatch when you try to use Redim on it.
(Side note: I didn't check for errors anywhere else, so no promises that your script works, but this should fix your Type Mismatch error on the Redim statements - yes, it would happen on both Redim statements, not just the productNum redim)
"The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"