T
Torben
Hi NG
I want to make a macro in Visio that saves the document as a html
automatically. So I've made a new macro:
Sub ExportHTML()
Dim pageObj As Visio.Page
Dim filename As String
Set pageObj = ThisDocument.Pages.Item("page-1")
filename = "c:\tmpHTML.html"
pageObj.Export filename
End Sub
But how can I connect it to the close/exit procedure, so that this document
is saved automatically in html ?
Regards
Torben
I want to make a macro in Visio that saves the document as a html
automatically. So I've made a new macro:
Sub ExportHTML()
Dim pageObj As Visio.Page
Dim filename As String
Set pageObj = ThisDocument.Pages.Item("page-1")
filename = "c:\tmpHTML.html"
pageObj.Export filename
End Sub
But how can I connect it to the close/exit procedure, so that this document
is saved automatically in html ?
Regards
Torben