I have a line of code which simply generates a msgbox that reports the number of worksheets in the active workbook. The line is as follows:
msgbox (ActiveWorkbook.Sheets.Count)
There are only two sheets in the workbook but his code results in a count of three every time it's run. If I insert an additional sheet and then run the code, it reports four sheets instead of three. What could be accounting for this?