Anyone know how to open an excel file from publisher, I've searched the world for this.
This is how I open publisher from publisher
thanks
This is how I open publisher from publisher
Code:
Sub openpub()
' Create new instance of Publisher.
Dim appPub As New Publisher.Application
' Open publication.
appPub.Open Filename:="C:\test.pub"
' Put code here to modify the publication as necessary.
' Close the publication.
appPub.ActiveDocument.Close
' Release the other instance of Publisher.
Set appPub = Nothing
End Sub
Last edited by a moderator: