No equivalent COM Commands
:PROGram[:SELected]:NAME <string>
:PROGram[:SELected]:NAME?
This command sets/gets the VBA macro controlled with the :PROG:STAT command.
Selectable VBA macro names can be read with the :PROG:CAT? command.
| 
 Parameter  | 
 String  | 
| 
 Description  | 
 VBA macro name (module name.procedure name)  | 
| 
 Range  | 
 254 characters or less  | 
| 
 Preset value  | 
 ""  | 
{string}<newline><^END>
10 OUTPUT 717;":PROG:NAME ""Module1.main"""
20 OUTPUT 717;":PROG:NAME?"
30 ENTER 717;A$
Macro Setup > Select Macro
When performing a similar operation from the front panel, you should select the VBA macro and execute it at the same.