Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.5 KB

Excel.DefaultWebOptions.RelyOnVML.md

File metadata and controls

44 lines (25 loc) · 1.5 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
DefaultWebOptions.RelyOnVML property (Excel)
vbaxl10.chm660081
vbaxl10.chm660081
Excel.DefaultWebOptions.RelyOnVML
414b81f1-2549-f9b3-a5a0-b36dcbf8a6e4
04/25/2019
medium

DefaultWebOptions.RelyOnVML property (Excel)

True if image files are not generated from drawing objects when you save a document as a webpage. False if images are generated. The default value is False. Read/write Boolean.

Syntax

expression.RelyOnVML

expression A variable that represents a DefaultWebOptions object.

Remarks

You can reduce file sizes by not generating images for drawing objects, if your web browser supports Vector Markup Language (VML). For example, Microsoft Internet Explorer 5 supports this feature, and you should set the RelyOnVML property to True if you are targeting this browser. For browsers that don't support VML, the image will not appear when you view a webpage saved with this property enabled.

For example, you should not generate images if your webpage uses image files that you have generated earlier, and if the location where you save the document is different from the final location of the page on the web server.

Example

This example specifies that images are generated when saving the worksheet to a webpage.

Workbooks(1).DefaultWebOptions.RelyOnVML = False

[!includeSupport and feedback]