Subscript Out of Range
I'd guess that that workbook that's active doesn't contain a worksheet named
"Audit results".
Common problems are typos and extra spaces (embedded or leading/trailing).
ExcelMonkey wrote:
I am getting an Subscript Out of Range Error on this line
of code:
Set sh1 = ActiveWorkbook.Sheets("Audit Results")
Why is this happening?
Thanks
--
Dave Peterson
|