Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 946 Bytes

Excel.Graphic.Filename.md

File metadata and controls

43 lines (25 loc) · 946 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Graphic.Filename property (Excel)
vbaxl10.chm694080
vbaxl10.chm694080
Excel.Graphic.Filename
8657c279-2c17-57ea-e898-aab0b7b705b4
04/26/2019
medium

Graphic.Filename property (Excel)

Returns or sets the URL (on the intranet or the web) or path (local or network) to the location where the specified source object was saved. Read/write String.

Syntax

expression.Filename

expression A variable that represents a Graphic object.

Remarks

The FileName property generates an error if a folder in the specified path doesn't exist.

Example

This example sets the location where the first item in the active workbook is to be saved.

ActiveWorkbook.PublishObjects(1).FileName = _ 
 "\\Server2\Q1\StockReport.htm"

[!includeSupport and feedback]