DefaultWebOptions.RelyOnVML Property (Excel)

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


expression .RelyOnVML

expression A variable that represents a DefaultWebOptions object.


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 do not support VML, the image will not appear when you view a Web page saved with this property enabled.

For example, you should not generate images if your Web page 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.


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

Workbooks(1).DefaultWebOptions.RelyOnVML = False

See Also


DefaultWebOptions Object

DefaultWebOptions Object Members