Where is the Design Mode in Microsoft Excel 2007, 2010, 2013, 2016, 2019 and 365. It is quite easy to find out the Design Mode if you have Classic Menu for Office. Undo, redo, or repeat an action. Excel for Office 365 Word for Office 365 PowerPoint for Office 365 Excel for Office 365 for Mac Word for Office 365 for Mac PowerPoint for Office 365 for Mac Excel for the web Word for the web PowerPoint for the web Excel 2019 Word 2019 PowerPoint 2019 Excel.
How to use Command Button to save active worksheet as PDF file in Excel?
While working in Microsoft Excel, you may face the problem of saving active worksheet as PDF file. In this article, you can learn how to save active worksheet as PDF file with VBA code through a Command Button. And if you also want to save a range or each worksheet in active workbook as individual PDF file, this article can also help you.
Excell Where Is Microsoft Office Buton Mac 2017
Save a range of selected cells as PDF file with Kutools for Excel
Save each worksheet as individual PDF file of active workbook with Kutools for Excel
Click Enterprise > Import/Export > Export Range to File. The Kutools for Excel's Export Range to File utility helps you easily export selection as PDF file in Excel. See below screenshot:
Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Download the free trial Now
Use Command Button to save active worksheet as PDF file with VBA codeAmazing! Using Efficient Tabs in Excel Like Chrome, Firefox and Safari!Save 50% of your time, and reduce thousands of mouse clicks for you every day!
You can run the following VBA code to save an active worksheet as PDF file by clicking on a Command Button. Please do as follows.
1. Firstly, you need to create a folder named PDF for saving your new converted PDF file. Here I create this folder in my local disc (C:).
2. Please insert a Command Button by clicking Developer > Insert > Command Button (ActiveX Control). See screenshot:
2. Then draw a Command Button in to the worksheet you need to add new rows, right click the Command Button and click Properties from the right-clicking menu.
3. In the Properties dialog box, enter the displayed text of the Command Button into the Caption box under the Categorized tab, and then close the dialog box.
You can see the displayed text of the Command Button is changed as below screenshot shown.
4. Right click the Command Button again, and then click View Code from the right-clicking menu.
5. In the opening Microsoft Visual Basic for Applications window, please replace the original code in the Code window with the following VBA code.
VBA code: Command Button to save active worksheet as PDF
Note: In the code, CommandButton1 is the Command Button name you will use to save active sheet as PDF file. 'C:PDFExport.pdf' is the path and name of your saving PDF file.
6. Press the Alt + Q keys simultaneously to close the Microsoft Visual Basic for Applications window. Then turn off the Design Mode under the Developer tab.
Now, click on the Command Button, the active worksheet will be saved as a PDF file named Export and located in the specified location.
Save a range of selected cells as PDF file with Kutools for Excel
If you just want to save a range of selected cells as a PDF file, you can try the Export Range to File utility of Kutools for Excel. Please do as follows.
1. Select the range you need to save as PDF file, then click Enterprise > Import / Export > Export Range to File. See screenshot:
2. In the Export Range to File dialog box, you need to:
2.1 Select the PDF option in the File format section;
2.2 Specify a folder to save your PDF file in the Save direction section;
2.3 Click the OK button.
2.4 Name your PDF file in the second Export Range to File dialog box, and then click the OK button. See screenshot:
Microsoft windows error 0xc000000f on mac. Apr 07, 2017 Your Windows computer is unable to boot up and display the 0xc000000f error? Here are reasons why it occurs and how to troubleshooting. May 07, 2019 Next, download a new ISO image from Microsoft and then try your Windows 10 installation again. Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. May 29, 2019 Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services. You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number. Apr 11, 2017 For a new installation of Windows 10 Creators Update on an Apple Mac using Boot Camp, you must first install using the ISO for the Windows 10 Anniversary Update. New Install of Windows 10 Creators Update on Mac with Boot Camp. Content provided by Microsoft. If you already attempted to install the Creators Update and see the.
Note: You can check any of the Preserve formatting, Preserve row heights as well as Preserve column widths in the Workbook options section as you need. And you can open the exported PDF file automatically by checking the Open the file after exporting box.
Now the selected range is saved as PDF file.
Tip.If you want to have a free trial of this utility, please go to download the software freely first, and then go to apply the operation according above steps.
Save each worksheet as individual PDF file of active workbook with Kutools for Excel
You can use the Split Workbook utility of Kutools for Excel to save each worksheet in active workbook as individual PDF file easily.
Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.
1. In the workbook you need to save each worksheet as individual PDF file, then click Enterprise > Workbook > Split Workbook. See screenshot:
2. In the Split Workbook dialog box, you can see all worksheets are listed inside, please select PDF (*.pdf) option from the Save as type drop-down list, and then click the Split button. And in the popping up Browse For Folder dialog box, specify a folder where you want to save the PDF files, and then click the OK button. See screenshot:
Then all worksheets in active workbook are saved as individual PDF file immediately.
If you want to have a free trial ( 30-day) of this utility, please click to download it Page numbers in mac word. , and then go to apply the operation according above steps.
Demo: Save selection or each worksheet as PDF with Kutools for ExcelRelated articles:The Best Office Productivity ToolsKutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
Office Tab Brings Tabbed interface to Office, and Make Your Work Much EasierWhere Is The Microsoft Office Button In Excel For Mac
or post as a guest, but your post won't be published automatically.
Loading comment.. The comment will be refreshed after 00:00.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |