View Single Post
  #2  
Old 04-21-2011, 06:37 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
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
Reply With Quote