Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3768

How to save the active sheet in an Excel workbook to a PDF file

$
0
0

I am using the code below, but I get a syntax error. I used “" after the reserved words true and false. I also get a syntax error if I do not use the "

book.ActiveSheet.ExportAsFixedFormat(Type:=xlTypePDF, Filename:=fName, Quality:=xlQualityStandard, IncludeDocProperties:=True_, IgnorePrintAreas:=False_, OpenAfterPublish:=True_)

I am using a Windows computer.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3768

Trending Articles