This class represents a workbook in MS Excel. More...
Public Member Functions | |
def | active_worksheet (self) |
This method returns an active sheet of an MS Excel workbook. More... | |
def | sheets (self) |
This method returns a list of all sheets in an MS Excel workbook. More... | |
def | full_name (self) |
This method returns a path and name for an MS Excel workbook. More... | |
def | activate (self) |
This method activates (transfers to the foreground) a window tied to an MS Excel workbook. More... | |
def | save (self) |
This method saves an MS Excel workbook. More... | |
def | save_as (self, filename, format=None) |
This method saves an MS Excel workbook into a file with the passed name. More... | |
def | add_worksheet (self) |
This method adds a new worksheet to an MS Excel workbook. More... | |
def | close (self) |
This method closes an MS Excel workbook. More... | |
This class represents a workbook in MS Excel.
def urpa.ExcelWorkbook.activate | ( | self | ) |
This method activates (transfers to the foreground) a window tied to an MS Excel workbook.
def urpa.ExcelWorkbook.active_worksheet | ( | self | ) |
This method returns an active sheet of an MS Excel workbook.
def urpa.ExcelWorkbook.add_worksheet | ( | self | ) |
This method adds a new worksheet to an MS Excel workbook.
def urpa.ExcelWorkbook.close | ( | self | ) |
This method closes an MS Excel workbook.
def urpa.ExcelWorkbook.full_name | ( | self | ) |
This method returns a path and name for an MS Excel workbook.
def urpa.ExcelWorkbook.save | ( | self | ) |
This method saves an MS Excel workbook.
def urpa.ExcelWorkbook.save_as | ( | self, | |
filename, | |||
format = None |
|||
) |
This method saves an MS Excel workbook into a file with the passed name.
filename | str |
format | str or int
|
def urpa.ExcelWorkbook.sheets | ( | self | ) |
This method returns a list of all sheets in an MS Excel workbook.