Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.06 KB

Excel.Application.Excel4MacroSheets.md

File metadata and controls

43 lines (25 loc) · 1.06 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.Excel4MacroSheets property (Excel)
vbaxl10.chm132118
vbaxl10.chm132118
Excel.Application.Excel4MacroSheets
d1ee907a-302c-4bd5-5455-75c328f94268
04/04/2019
medium

Application.Excel4MacroSheets property (Excel)

Returns a Sheets collection that represents all the Microsoft Excel 4.0 macro sheets in the specified workbook. Read-only.

Syntax

expression.Excel4MacroSheets

expression A variable that represents an Application object.

Remarks

Using this property with the Application object or without an object qualifier is equivalent to using ActiveWorkbook.Excel4MacroSheets.

Example

This example displays the number of Microsoft Excel 4.0 macro sheets in the active workbook.

MsgBox "There are " & ActiveWorkbook.Excel4MacroSheets.Count & _ 
 " Microsoft Excel 4.0 macro sheets in this workbook."

[!includeSupport and feedback]