Do you want to: Report a bug
-
Fill in cells C3 and D4
-
Run the macro
Api.GetActiveSheet().GetUsedRange().Select();
-
the range A1:D4 will be selected
-
Delete the value in cell D4
-
Run the macro
-
The range A1:D4 will be selected instead of A1:C3
The expected behavior was similar to VBA function ActiveSheet.UsedRange - search for the last filled cell by columns and rows.
OS version: Win10 x64
App version: 8.1.1.27 (x64 exe)
Downloaded from: ONLYOFFICE website.