the recommended way to manage worksheets is Workbook#add_worksheet

Creates a new worksheet.


  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • name (String)

    The name of this worksheet.

  • page_margins (Hash)

    A hash containing page margins for this worksheet. @see PageMargins

  • print_options (Hash)

    A hash containing print options for this worksheet. @see PrintOptions

  • header_footer (Hash)

    A hash containing header/footer options for this worksheet. @see HeaderFooter

  • show_gridlines (Boolean)

    indicates if gridlines should be shown for this sheet.


  • (_self)

Yield Parameters:

  • _self (Axlsx::Worksheet)

    the object that the method was called on

initialize is referenced in 0 repositories