Macro to export HTML?
I can see that there is an ExportFilter for HTML, but I can't figure out how to use it. In the documtnation of the Document.saveAs() method it says
The SaveAs method only saves maps as native .mmap documents. You cannot specify a different extension (e.g. "xml") to save in a different format. Separate export code would be required to do that."
Can anyone help me figure out what that "separate export code" would look like?