Bug 140475 - FILESAVE XLSM Macro using Range processing failed to work after File Save
Summary: FILESAVE XLSM Macro using Range processing failed to work after File Save
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xlsx
Depends on:
Blocks: Macro-VBA
  Show dependency treegraph
 
Reported: 2021-02-17 14:31 UTC by zexcel
Modified: 2022-03-03 14:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
xlsm file generated using Excel (16.35 KB, application/vnd.ms-excel.sheet.macroEnabled.12)
2021-02-17 14:36 UTC, zexcel
Details
The macro in this saved file does not function any more. (7.90 KB, application/vnd.ms-excel.sheet.macroEnabled.12)
2021-02-17 14:39 UTC, zexcel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zexcel 2021-02-17 14:31:59 UTC
Description:
Calc can open an Excel xlsm file with Range macro, and work normally. However, after Save locally, Close the file and re-Open in Calc, the macro does not function any more.

Steps to Reproduce:
1.File Open the attached EXCEL file with Range processing macro and Enable macro
2.Check the value of both the Cell A2 and the Cell B2 change when active cell switching around A4,A5 and A6, which meaning the macro works normally. 
3.Save the file -> Close the file -> re-Open the file in Calc

Actual Results:
The macro in the saved file fails to work.

Expected Results:
the value of both the Cell A2 and the Cell B2 change when active cell switching around A4,A5 and A6, as I open the Excel generated file the first time.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 zexcel 2021-02-17 14:36:04 UTC
Created attachment 169828 [details]
xlsm file generated using Excel

I have checked Calc 6 and 7, nor of them working.
Comment 2 zexcel 2021-02-17 14:39:07 UTC
Created attachment 169829 [details]
The macro in this saved file does not function any more.
Comment 3 Buovjaga 2022-03-03 14:53:24 UTC
Reproduced. Already in oldest of Linux 6.3 bibisect repo.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 04f9a8957c04b8c5abaa58140328d2c83381f4ff
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo

Arch Linux 64-bit
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 896c097f1fa4bc9d2e5ea87a696c125bb335ecac
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 3 March 2022