Thread
:
Trouble accessing macros from script
View Single Post
#
2
04-21-2011, 06:37 AM
kinook
Administrator
Join Date: 03-06-2001
Location: Colorado
Posts: 6,049
A macro is an object, so you need to update its Value property, not the object itself.
http://www.kinook.com/VisBuildPro/Ma...acroobject.htm
Code:
Set objMacro = vbld_TempMacros().Add("SUCCEEDED_STEPS", 0) objMacro.Value = objMacro.Value + 1
kinook
View Public Profile
Visit kinook's homepage!
Find all posts by kinook