Step 2: Click the Kutools > Show / Hide > Set Scroll Area. But this method will select all print areas in current worksheet. Note: If you can’t find out the print area quickly, you can press F5 key to open the Go To dialog box, select the print area name and click the OK button as below screen shot shown. Step 1: Select the print area in current worksheet. Full feature free trial 30-day, no credit card required! Free Trial Now! Kutools for Excel- Includes more than 300 handy tools for Excel.
If you have Kutools for Excel installed, its Set Scroll Area utility will help you only show a print area in current worksheet easily. Only show print area with Kutools for Excel’s Set Scroll Area utility If xLastRng.Row Unhide All Ranges utility. Range(.Cells(1, 1), xFirstRng(1, 0)).EntireColumn.Hidden = True Range(.Cells(1, 1), xFirstRng(-0, 1)).EntireRow.Hidden = True Set xLastRng = xPrintRng.Cells(xPrintRng.Count) VBA: Only Show Print Area in Current Worksheet Public Sub HideAllButPrintArea() Step 2: Click Insert > Module, and then paste following VBA code into the module window: Step 1: Press the Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Applications window. To hide non-printing area completely in Excel, you can try VBA macro.