Public <keyword>

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

The Public keyword is used in these contexts:

Const Statement

Declare Statement

Enum Statement

Event Statement

Function Statement

Property Get Statement

Property Let Statement

Property Set Statement

Public Statement

Sub Statement

Type Statement