Created
September 2, 2020 20:41
-
-
Save bohops/2255f320f9dd67e9e41b30455954b1a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub Workbook_Open() | |
| RunMe | |
| End Sub | |
| Function RunMe() | |
| Dim ScriptEngine | |
| Set ScriptEngine = CreateObject("MSScriptControl.ScriptControl") | |
| ScriptEngine.Language = "JScript" | |
| ScriptEngine.Eval ("var shell = new ActiveXObject('WScript.Shell');shell.Popup('text');") | |
| End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment