Hi friends - I have a situation where a sort field has been converted to text and is a mix of numbers and text. The values include numbers like "001", "002", etc. and values like "0.1, 066". When sorting this column in excel, it brings up a Sort Warning dialogue box and gives the option to "Sort numbers and numbers stored as text separately".
I would like to do this via an office script; however, I have been unsuccessful in finding a method to do so. Does it exist?
Here is the code I am using, which is part of a broader script:
Thank you for your assistance!
I would like to do this via an office script; however, I have been unsuccessful in finding a method to do so. Does it exist?
Here is the code I am using, which is part of a broader script:
JavaScript:
// Sort the range range A22:BW226 on selectedSheet
portfolio_reporting.getRange("A22:BW226").getSort().apply([{ key: 1, ascending: true}], false, true, ExcelScript.SortOrientation.rows);
Thank you for your assistance!