title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Graphic.Filename property (Excel) |
vbaxl10.chm694080 |
|
|
8657c279-2c17-57ea-e898-aab0b7b705b4 |
04/26/2019 |
medium |
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.
expression.Filename
expression A variable that represents a Graphic object.
The FileName property generates an error if a folder in the specified path doesn't exist.
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]