I would like to zoom or change the size of the selected cells or all cells with content to the size of the screen so that all cells are visible.
I did not see a "Zoom to Selection" type function in VBA to correspond with the Excel button. Is there one?
My current attempt will be to resize the .ColumnWidth and .RowHeight properties to the total screen size divided by the number of columns and rows (respectively). However, I would prefer not to compute this number myself.
Is it common knowledge or listed in relevant documentation what the size of the Excel screen is in "points" (or twips), the Excel distance quantity?
Could this attribute be accessed from the Excel Object Model via the Component Object Model (COM)? Is there some API for that?