J
jdfunk
I've created clickable icons with a macro that will allow me to jump from one
file to another. I'd like to add something into the macro that would close
the old file once I move on to the next one. Any suggestions? Here's the very
simple macro I have right now:
Sub Overview()
Application.Documents.OpenEx "\\Ohio EDS\Cleveland FMS\Ohio EDS Ver 2\Ohio
EDS\Cleveland EDS Overview ver3.vsd", visOpenRW
End Sub
I tried the following and couldn't get it to work:
Sub Overview()
Application.Documents.OpenEx "\\Usclb1fp001\data\DMJM\ODOT Projects\Ohio
EDS\Cleveland FMS\Ohio EDS Ver 2\Ohio EDS\Cleveland EDS Overview ver3.vsd",
visOpenRW
End Sub
Private Sub Document_BeforeDocumentClose(ByVal doc As IVDocument)
Application.Documents.OpenEx "\\Usclb1fp001\data\DMJM\ODOT Projects\Ohio
EDS\Cleveland FMS\Ohio EDS Ver 2\Ohio EDS\Cleveland EDS Overview ver3.vsd",
visOpenRW
End Sub
Any help would be appreciated.
file to another. I'd like to add something into the macro that would close
the old file once I move on to the next one. Any suggestions? Here's the very
simple macro I have right now:
Sub Overview()
Application.Documents.OpenEx "\\Ohio EDS\Cleveland FMS\Ohio EDS Ver 2\Ohio
EDS\Cleveland EDS Overview ver3.vsd", visOpenRW
End Sub
I tried the following and couldn't get it to work:
Sub Overview()
Application.Documents.OpenEx "\\Usclb1fp001\data\DMJM\ODOT Projects\Ohio
EDS\Cleveland FMS\Ohio EDS Ver 2\Ohio EDS\Cleveland EDS Overview ver3.vsd",
visOpenRW
End Sub
Private Sub Document_BeforeDocumentClose(ByVal doc As IVDocument)
Application.Documents.OpenEx "\\Usclb1fp001\data\DMJM\ODOT Projects\Ohio
EDS\Cleveland FMS\Ohio EDS Ver 2\Ohio EDS\Cleveland EDS Overview ver3.vsd",
visOpenRW
End Sub
Any help would be appreciated.