Hi,
When it debugs what is the value of 'fircount' and cmdPassNum?

What do cells F & H on the fircount row show? Are these errors?

If this doesn't help you'll need to upload your workbook.