View definition

def Axlsx::Workbook#insert_worksheet

Defined in


inserts a worksheet into this workbook at the position specified. It the index specified is out of range, the worksheet will be added to the end of the worksheets collection


  • index (defaults to: 0)

    The zero based position to insert the newly created worksheet

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

    Options to pass into the worksheed during initialization.

Options Hash (options):

  • name (String)

    The name of the worksheet

  • page_margins (Hash)

    The page margins for the worksheet


  • (worksheet)

insert_worksheet is referenced in 0 repositories