:MMEMory:LOAD:PROGram

No equivalent COM Commands

Syntax

:MMEMory:LOAD:PROGram <string>

Description

This command loads (or imports) a VBA project (a file with the .vba extension), a module (a file with the .bas extension), a user form (a file with the .frm extension) or a class module (a file with the .cls extension). If the specified file does not exist, an error occurs and the command is ignored.

Variables

Parameter

String

Description

File name in which you want to load the VBA project

Range

254 characters or less

Preset value

""

Example of use

10 OUTPUT 717;":MMEM:LOAD:PROG ""Test1/Test1_01.vba"""

10 OUTPUT 717;":MMEM:LOAD:PROG ""A:Test1_01.vba"""

Related commands

:MMEM:STOR:PROG

Equivalent key

Macro Setup > Load VBA Project