def sheet_size(sheet, rc0=[1,1]): 
    """
    This function aims to size the data present in a sheet. The sizing is performed in a fixed position given by the user (rc0).
    It means if rc0=[1,1] the column counting will be done in the first row and the row counting will be done in the first column.
    
    Parameters
    ----------
    sheet: workbook sheet
        sheet file to be sized
    
    rc0: numeric list
        [row number, colmun number] fixed positions where perform the count
        
    
    Returns
    -------        
    rows: integer
        number of rows counted in the sheet
    
    columns: integer
        number of columns counted in the sheet
        
    """
    rows = 1 
    columns = 1
        
    while True:
        if sheet.cell(row=rows+1, column=rc0[1]).value != None: 
            rows+=1
        else:
            break
    while True:
        if sheet.cell(row=rc0[0], column=columns+1).value != None:
            columns+=1
        else:
            break
    #print(str(rows) + ' rows') 
    #print(str(columns) + ' columns')
    return(rows,columns)