Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.22 KB

export-method-vba-add-in-object-model.md

File metadata and controls

37 lines (25 loc) · 1.22 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
Export method (VBA Add-In Object Model)
vbob6.chm102194
vbob6.chm102194
46cab37a-4390-219c-68f8-05cbb59c0450
12/06/2018
medium

Export method (VBA Add-In Object Model)

Saves a component as a separate file or files.

Syntax

object.Export (filename)

The Export syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
filename Required. A String specifying the name of the file that you want to export the component to.

Remarks

When you use the Export method to save a component as a separate file or files, use a file name that doesn't already exist; otherwise, an error occurs.

See also

[!includeSupport and feedback]