PDA

View Full Version : Plotting to PDF



vanillacoke1
10-17-2012, 03:24 PM
Hello

This is my code:

Sub PrintExample()

'variable declaration of variable Visum (a third party software my company uses)
Dim Visum As Object
Set Visum = CreateObject("Visum.Visum.115")
'load version, file name from cell B3
Visum.LoadVersion Cells(5, 2)
Visum.Graphic.Plot

'The default plotter is set as Adobe PDF. So at this point, I see the dialog where I have to enter the PDF file name. Is there anyway I can automate the file name entry as well? Thanks for your help.

End Sub