Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets a single Report object from the Reports collection. Read-only Report.
Syntax
expression.Item
expression A variable that represents a 'Reports' object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Index | Required | Variant | Name of the report or index number of the report. |
Remarks
To get the index number of a report, you can use the Report.Index property. For example, create a report namedReport 1, and then run the following statement in the Immediate window of the VBE:
? ActiveProject.Reports.Item("Report 1").Index
Item is the default property of the Reports object. For example, the following statement is equivalent of the previous statement.
? ActiveProject.Reports("Report 1").Index
Property value
REPORT
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.