If this is the method you are using, there are settings for PDF or JPEG. If you refer to using the Embedded Web Server ( EWS), then you can adjust the settings as provided in the Webscan setup. Unless there is a specific setup available, that's "it". If you refer to scanning from the printer control panel, the Apps that are available (if any) are the apps available.
This is usually due to the printer software not supporting selection and / or the creation of Custom Shortcuts. Worksheets("Report").ExportAsFixedFormat _įilename:=Environ("USERPROFILE") & "\Desktop\SF_Report " & Format(i, "000") & ".Some printers do not "stick" to the preferred shortcut selection. TblResults.ListRows(i).Range.Copy Destination:=ActiveSheet.Range("rngAllValues") Set tblResults = Worksheets("AllResults").ListObjects("MrgdResults")
I am having a number (up to 500) report diagrams to print a pdf based on an Excel data table where the charts get updated for each row, one by one. If you decide to go the macro route, you could add a button to your workbook to run the macro, making it easy for your users to create the PDF output you need. You'll obviously want to change this to meet your needs of what you want included. In this case, it is the range D6:K57 on Sheet1. The macro then specifies a print area of what should be included in the PDF file. The macro puts together a filename into the sFile variable you should change this as desired. IncludeDocProperties:=True, IgnorePrintAreas:=False, _
SFile = Application.DefaultFilePath & "\" & _Ī = "D6:K57"ĪctiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _įilename:= sFile, Quality:=xlQualityStandard, _ The macro is a good approach if you want complete control over what is included in the PDF file that is created. You could also create a macro that performs the same publishing task. This new tool, when clicked, displays a dialog box that looks very similar to the Save As dialog box, except the settings are all correct for "publishing" as a PDF file. The command is copied to the right side of the screen.
Unfortunately, Brian indicates that he has no control over what operating system his users have, which means he can't assume that they have the native PDF output capabilities introduced in Windows 10.įortunately, Excel has included (since at least Excel 2007) a way to export to a PDF file. Printing to PDF is relatively easy if your users are using Windows 10, as it includes (finally!) a native PDF printer driver. He has no control over what version of Excel or what operating system the people have, but he wonders if there is a way to accomplish this type of output. He would like a way to be able to have them print to a PDF file with ease, perhaps with the click of a button.
Brian is preparing a workbook that will be used by people without extensive Excel experience.