The Basic macros which were working in previous versions are currently not working or working strangely after upgrading to 5.1.
For example, the following code in previous LO versions doesn't shift or move cells. Now it does
args1(5).Name = "MoveMode"
args1(5).Value = 4
dispatcher.executeDispatch(document, ".uno:InsertContents", "", 0, args1())
The above is just an example. In it, the value should be changed as 6 to make it work as in previous versions.
Tested in both Ubuntu and Windows
Please attach test file with macro.
Created attachment 123205 [details]
One of the macros which which is functioning differently in LO5.1
The attachment is just an example. The previous LO versions don't shift or move cells. Now it does. If the value is changed as 6 from 4, it works as in previous versions.
Build ID: aaca25d67eb5ea252730cdcf555ecc04ce04a5e6
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-24_23:58:47
run macro and nothing happens.
- open file, cursor is in cell E19
- run macro
- nothing. Cursor is in cell E19
What should happen?
Looks to me as a duplicate of Bug 97193.
*** This bug has been marked as a duplicate of bug 97193 ***
1.copy a cell having itself and all adjacent cell have contents.
2.Run the macro
3.The macro shift cells a paste the macro. (Previous LO versions doesn't shift or move cells. Now it does)