Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def getLastUsedCell(oSheet):
- '''
- Restitusce l'indirizzo dell'ultima cella usata
- in forma di oggetto
- '''
- oCell = oSheet.getCellByPosition(0, 0)
- oCursor = oSheet.createCursorByRange(oCell)
- oCursor.gotoEndOfUsedArea(True)
- aAddress = oCursor.RangeAddress
- return aAddress#.EndColumn .EndRow)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement