I need the fastest way in code to detect the bounds of a given sheet. When viewing a spreadsheet you can do this by clicking Control + Shift + End. In code I cannot see a way of finding out the boundary without looping through all the cells and detecting if there is any content within the cells. Please help if you know?