Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49892

Opening a pdf file after saving it as a pdf using VBA

$
0
0
In my macro, I was able to save the excel file as a pdf. But is there something I can add to the code to also automatically open that pdf file I just saved for verification purposes?

Below is the code I used to save the file as PDF. Pretty basic.

ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
filename:=filename, _
Quality:=xlQualityMinimum


I would like to also open up this pdf file using excel VBA. Is it possible?

Viewing all articles
Browse latest Browse all 49892

Trending Articles