Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Francois Botha edited this pageFeb 26, 2018 ·2 revisions

SheetTab.jpg

varworkbook=newXLWorkbook();varws=workbook.Worksheets.Add("Sheet Tab");// Adding print areasws.PageSetup.PrintAreas.Add("A1:B2");ws.PageSetup.PrintAreas.Add("D3:D5");// Adding rows to repeat at topws.PageSetup.SetRowsToRepeatAtTop(1,2);// Adding columns to repeat at leftws.PageSetup.SetColumnsToRepeatAtLeft(1,2);// Show gridlinesws.PageSetup.ShowGridlines=true;// Print in black and whitews.PageSetup.BlackAndWhite=true;// Print in draft qualityws.PageSetup.DraftQuality=true;// Show row and column headingsws.PageSetup.ShowRowAndColumnHeadings=true;// Set the page print order to over, then downws.PageSetup.PageOrder=XLPageOrderValues.OverThenDown;// Place comments at the end of the sheetws.PageSetup.ShowComments=XLShowCommentsValues.AtEnd;// Print errors as #N/Aws.PageSetup.PrintErrorValue=XLPrintErrorValues.NA;workbook.SaveAs("SheetTab.xlsx");

FAQ

Examples

Real world scenarios

Time Savers

Performance and Memory

Misc

Inserting Data/Tables

Styles

Ranges

Rows

Columns

Page Setup (Print Options)

AutoFilters

Comments

Dev docs

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp