J
jesseb
Need help.
My user needs to save email to a folder on the network as a PDF.
She has Acrobat, so the ability to save as PDF is there. The Save As dialog
box needs to pop up so she can pick file type.
I have some code to save the open email but the problem is I can not get the
right code to open the Save As dialog box on the screen so she can pick file
type as PDF.
Or the code that would change the File type to PDF.
Sub SaveAsPDF_OLD()
Dim myItem As Outlook.Inspector
Dim objItem As Object
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.ActiveInspector
'If Not TypeName(myItem) = "Nothing" Then
Set objItem = myItem.CurrentItem
strname = objItem.Subject
objItem.SaveAsdialog ' "C:\" & strname & ".txt", oltxt
End Sub
Any help out there?
My user needs to save email to a folder on the network as a PDF.
She has Acrobat, so the ability to save as PDF is there. The Save As dialog
box needs to pop up so she can pick file type.
I have some code to save the open email but the problem is I can not get the
right code to open the Save As dialog box on the screen so she can pick file
type as PDF.
Or the code that would change the File type to PDF.
Sub SaveAsPDF_OLD()
Dim myItem As Outlook.Inspector
Dim objItem As Object
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.ActiveInspector
'If Not TypeName(myItem) = "Nothing" Then
Set objItem = myItem.CurrentItem
strname = objItem.Subject
objItem.SaveAsdialog ' "C:\" & strname & ".txt", oltxt
End Sub
Any help out there?