CodeName Element (Microsoft Excel)

Contains the code name of a worksheet.

Contained In

WorksheetOptions

Remarks

The code name is a text string. This element is specified only if there is at least one Visual Basic for Applications module in the worksheet. See the CodeName property topic in the Microsoft Excel Visual Basic Reference Help for more information about the code name.

Example

See the example in the ExcelWorkbook element topic.