debug.print activesheet.type always gives 3, which means xlExcel4MacroSheet (the xlSheetType values are xlChart, xlDialogSheet, xlExcel4IntlMacroSheet, xlExcel4MacroSheet, xlWorksheet).
I'm trying to identify whether the current sheet is a regular "Sheet1" worksheet, as opposed to a "Chart1" chart (which you get from hitting the F11 key). What am I doing wrong, or should I do instead?
(P.S. - I thought that this was an unfortunate but logical outcome from being in the code window as I observed this (i.e., ?activesheet.type in the Immediate window). But it also gives 3 when running the macro "full speed" from alt-F8.)