When the samples are downloaded from the internet and depending on the Excel setting under File > Options > Trust Center > Trust Center Settings..., Excel can give you a Security Warning - Enable Content. If that is the case, the excecution of the macro will end with hiding the Workbook completely. In that case, only a restart of Excel helps. A workaround is to close/reopen the Workbook just after enabling the Security Warning.
When the samples are downloaded from the internet and depending on the Excel setting under
File > Options > Trust Center > Trust Center Settings..., Excel can give you aSecurity Warning - Enable Content. If that is the case, the excecution of the macro will end with hiding the Workbook completely. In that case, only a restart of Excel helps. A workaround is to close/reopen the Workbook just after enabling the Security Warning.