Is there any way to run an MS Publisher macro through VBA?
Or sending a Publisher document as an e-mail through VBA, for that matter?
To be more explenative, I want to send a .pub document through an application
I'm making in Access.
Currently, I'm looking into the possibility of actually sending it through
Publisher via code, but with the user using the Access interface.
I've just done the declaration and initialization of the variables so far:
Private Sub btn_run_pub_macro_Click()
Dim pubDoc As Publisher.Document
Dim pubApp As New Publisher.Application
Set pubDoc = pubApp.Open("W:\MARKETING\FY10\FY10_WORKSHOPS\06.05 INVENTOR\
workshop invitation_0605.pub")
End Sub
I can't seem to find any method of the Publisher.Document or of the Publisher.
Application object that has to do with either sending the email or running a
macro.
Does anyone know how to do this?
Or sending a Publisher document as an e-mail through VBA, for that matter?
To be more explenative, I want to send a .pub document through an application
I'm making in Access.
Currently, I'm looking into the possibility of actually sending it through
Publisher via code, but with the user using the Access interface.
I've just done the declaration and initialization of the variables so far:
Private Sub btn_run_pub_macro_Click()
Dim pubDoc As Publisher.Document
Dim pubApp As New Publisher.Application
Set pubDoc = pubApp.Open("W:\MARKETING\FY10\FY10_WORKSHOPS\06.05 INVENTOR\
workshop invitation_0605.pub")
End Sub
I can't seem to find any method of the Publisher.Document or of the Publisher.
Application object that has to do with either sending the email or running a
macro.
Does anyone know how to do this?