Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficeVbaModuleKind

Namespace OfficeIMO
Assembly OfficeIMO.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

The identity and persistence role of a VBA source module.

Inheritance

  • Enum
  • OfficeVbaModuleKind

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const OfficeVbaModuleKind Standard #

A procedural module exported as .bas.

Value: 0
public const OfficeVbaModuleKind Class #

An ordinary class module exported as .cls.

Value: 1
public const OfficeVbaModuleKind Document #

A host-owned document, worksheet, or workbook class.

Value: 2
public const OfficeVbaModuleKind Designer #

A class coupled to an existing form designer; source edits preserve its opaque design.

Value: 3