![]() |
Setting macros from VBScript
Hello,
How do I set a macro from a VBScript function? The following Application.ExpandMacrosAndScript("% is used to retrieve macro property values only. How can I set an already existing property value? The following unfortunately doesn't work. :-( Application.ExpandMacrosAndScript("% Thanks in advance, Martin |
To add a temp macro, use vbld_TempMacros().Add "MacroName", "MacroValue"
or for any type of macro, use this form: Application.Macros(vbldMacroTemporary).Add "MacroName", "MacroValue" See http://www.visualbuild.com/Manual/?macrosaddmethod.htm for the details. |
Cool! It works! Thanks Kevin,
|
All times are GMT -5. The time now is 09:40 AM. |
Copyright © 1999-2023 Kinook Software, Inc.