Hope this is OK in this forum...
Trying to script a function to autofit rows in MS Teams Excel.
This reformats the cell heights, but doesn't recognise any cells with multiple lines of wrapped text.
I would appreciate any help please.
My first attempt at scripting in teams
Trying to script a function to autofit rows in MS Teams Excel.
This reformats the cell heights, but doesn't recognise any cells with multiple lines of wrapped text.
VBA Code:
function main(workbook: ExcelScript.Workbook) {
workbook.getActiveWorksheet().getRange().getFormat().autofitRows();
}
I would appreciate any help please.
My first attempt at scripting in teams