PDA

View Full Version : Deleting macro programmatically


krosty
02-18-2010, 01:17 PM
Is there any way to delete a macro programmatically using VBScript from a 'Script' action step

kinook
02-18-2010, 01:23 PM
Application.Macros(vbldMacroTemporary).Remove "MACRO_NAME"

http://www.kinook.com/VisBuildPro/Manual/objectmodel.htm
http://www.kinook.com/VisBuildPro/Manual/macrosproperty.htm
http://www.kinook.com/VisBuildPro/Manual/macrosremovemethod.htm