JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. Macro.BeforeClose This event is called before the macro is closed. Syntax Parameters Return value Event Macro.BeforeClose( _ ByRef Cancel As Boolean) Cancel [in, out] Type: Boolean - Copyright © 2020. TIBCO Software Inc. All Rights Reserved.