Excel requires a minimum of a single Lively worksheet. If the many obvious sheets are selected, in order to avoid an mistake, the VBA code will not hide the last sheet. lastly, somewhere in the function course of action, you must contain a statement that assigns a value to the variable With all the exact identify as being the perform. This benefit