Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.71 KB

Access.SharedResources.md

File metadata and controls

41 lines (26 loc) · 1.71 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
SharedResources object (Access)
vbaac10.chm14648
vbaac10.chm14648
Access.SharedResources
45323141-e7df-1c70-efe2-926c1990d5e0
03/21/2019
medium

SharedResources object (Access)

Represents the collection of shared resources in the database.

Remarks

The SharedResources collection contains Microsoft Office themes and images that are stored once, but used throughout the database.

For example, you may want to display your company logo on every form that you create. In earlier versions of Access, you had to import the logo into every form. In Access, you can add the logo as a shared image. It will then be displayed in the Image Gallery that appears when you choose the Insert Image menu for the Controls group on the Design tab.

Use the Resources property of the CodeProject object or the Resources property of the CurrentProject object to enumerate the SharedResources collection.

To import an image as a SharedResource object, use the AddSharedImage method of the CodeProject object or the AddSharedImage method of the CurrentProject object.

Properties

See also

[!includeSupport and feedback]