Ok. Tried the call-a-sub approach approach already with no success before posting the question.
However, here's some code showing what I tried.
But first create an excel file with at least two sheets, name one "Help Sheet" and the others something else.
Put in any cell in one of the other spreadsheets the formula: =ActivateThis("Something")
and let it calculate, preferably stepping it using F8.
See if it delete the "Help Sheet" when the sub finds it. It will find the sheet, but won't delete it.
The eventual plan is to include it as part of an add-in, a button won't do.
Function ActivateThis(eInput As Variant) As Variant
ActivateThis = "Whatever" ' only because the function apparently needs to return something
Call ActivateHelpSheet
End Function
Sub ActivateHelpSheet()
Dim ws As Variant
For Each ws In Sheets
If ws.Name = "Help Sheet" Then ws.Delete
Next ws
End Sub
Why won't it delete? Or if .activate is use, why won't it activate? Ditto with .select? Another downstream issue is it not allowing cells to be filled with data, not allowing sheets to be added, even when called via subs, but those questions are beyond the scope of this question.