Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 10-18-2007, 04:43 PM
ambalboa ambalboa is online now
Registered User
Join Date: 06-25-2007
Location: Houston, TX
Posts: 70
Is it possible to use macros in the Script Editor, and if so, how?

I've been reading the manual and if I understand it correctly, I cannot reference any macros to use their value. Is this correct? If not, how do you call a macro? I am trying to use the FAILSTEP_NAME macro, among others on the step tab in the script editor. So far, I am just not able to. I am following what I did on the 'Run Script' action steps but that doesn't work. Thank you in advance.
Reply With Quote
Old 10-18-2007, 05:23 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
To access a (raw) macro value from script code:

Application.Macros(vbldMacroTemporary)("ABC").Valu e



Or, to expand the macro's value (any macros or script expressions it references):


In the case of FAILSTEP_NAME, it's more direct to just use the FailedStep object (FailedStep.Name) rather than that macro.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 01:33 AM.

Copyright 1999-2019 Kinook Software, Inc.