Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Imports the specified image into the database and adds it to the SharedResources collection.
Syntax
expression.AddSharedImage (SharedImageName, FileName)
expression A variable that represents a CurrentProject object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| SharedImageName | Required | String | Specifies the string used to identify the image in the collection. |
| FileName | Required | String | Specifies the full name and path to the image file. |
Remarks
Use the AddSharedImage method when you have an image that you want to use repeatedly, such as a company logo. The AddSharedImage method makes the image available in the Insert Image dropdown of the Controls group on the Design tab.
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.