Extending product function with VBA > The System Architect object model > Object model classes > Application class > Application class: Methods > AssignBMPtoMaroItem
  
AssignBMPtoMaroItem
Associates a bitmap, for example, a menu icon, with a Microsoft VBA macro.
Syntax
Application Object.AssignBMPtoMacroItem MacroName, BMPFileName
Parameters
Application Object
Use: Required
Data type: Object
Any instantiated Application class
MacroName
Use: Required
Data type: String
Any valid macro project
Syntax: "Project Name, Module Name, Subroutine Name()"
BMPFileName
Use: Required
Data type: String
File path and name of bitmap file (for example: "C:\Windows\world.bmp")
See also
Application class: Methods