WebMar 29, 2024 · In this article. Returns or sets the range to be printed as a String using A1-style references in the language of the macro. Read/write String.. Syntax. expression.PrintArea. expression A variable that represents a PageSetup object.. Remarks. Set this property to False or to the empty string ("") to set the print area to the entire … WebApr 24, 2024 · Does anybody has an idea how to get the print area I set in Excel? public static void Save (RibbonControlEventArgs e) { Excel.Window window = e.Control.Context; …
How to Set Print Area in Excel (5 Methods) - ExcelDemy
WebJul 3, 2012 · Actually, Print Area is in the File menu -- right below Page Setup:-) File> Print Area> Set Print Area If you choose to do it through the File> Page Setup - Sheet dialog you simply need to specify the range [e.g., A1:F81] in the Print Area field. You can do that by either typing the reference or by clicking the range selector button @ the right ... WebJul 6, 2024 · Sub PrintArea() Dim ws As Worksheet For Each ws In ThisWorkbook.Worksheets 'loop through all sheets in workbook LastRow = ws.Cells(ws.Rows.Count, "I").End(xlUp).Row 'get the last row with data on Column I ws.PageSetup.PrintArea = "A1:I" & LastRow 'set print area from A1 to last row on column I … linked data quality assessment and fusion
How to Set a Print Area in Excel to Print a Specific Section
WebYou can create a dynamic print area with the following steps. 1. You need to create a dynamic named range at first. Click Formulas > Name Manager. See screenshot: 2. In the Name Manager dialog box, click the New button … WebTo set a print area, execute the following steps. 1. Select a range of cells. 2. On the Page Layout tab, in the Page Setup group, click Print Area. 3. Click Set Print Area. 4. Save, close and reopen the Excel file. 5. On the File tab, … WebApr 24, 2024 · 1 Answer Sorted by: 5 try the following code: sheet.PageSetup.PrintArea; Share Follow answered Apr 11, 2024 at 13:53 Zsmaster 1,550 4 22 28 1 It works fine. Thanks! Excel.Range range = sheet.Range [sheet.PageSetup.PrintArea]; – Adam Miklosi Apr 12, 2024 at 5:14 Add a comment Your Answer linked deposit program washington state