Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.22 KB

Access.CurrentProject.AddSharedImage.md

File metadata and controls

38 lines (24 loc) · 1.22 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
CurrentProject.AddSharedImage method (Access)
vbaac10.chm14660
vbaac10.chm14660
Access.CurrentProject.AddSharedImage
c6c02f12-6c5f-852a-65b7-a0ffbb3346fd
02/27/2019
medium

CurrentProject.AddSharedImage method (Access)

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.

[!includeSupport and feedback]