https://bugs.documentfoundation.org/show_bug.cgi?id=170796
Bug ID: 170796
Summary: BASIC runtime error. Property or method not found:
AccessibleContext.
Product: LibreOffice
Version: 26.2.0.3 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
We open various Wizards and one of them failed with the error message:
BASIC runtime error.
Property or method not found: AccessibleContext.
We call this six times in various of our macros. My version updated to 26.2
overnight. Yesterday all the macros worked, now the ones that reference
AccessibleContext do not.
Steps to Reproduce:
1.In the attached spreadsheet go to Cell P9
2.Run the Sub EventInputWizard macro; or
3.Right click on Cell P9 and select the Event Input Wizard.
Actual Results:
The macro fails with this message:
BASIC runtime error. Property or method not found: AccessibleContext.
Expected Results:
The macros should run.
Reproducible: Always
User Profile Reset: No
Additional Info:
Here is one function that fails:
Function GetAccessibleSpreadsheet(ByVal oDoc) As Object
' Returns object (supports com.sun.star.AccessibleSpreadsheet interface)
corresponding to active sheet of Calc document.
' - oDoc Spreadsheet document object.
Dim oAccDoc
GetAccessibleSpreadsheet=Nothing
oAccDoc=FindAccessibleRole(oDoc.CurrentController.ComponentWindow.AccessibleContext,
84) ' 84 DOCUMENT_SPREADSHEET
If Not (oAccDoc Is Nothing) Then
GetAccessibleSpreadsheet=FindAccessibleRole(oAccDoc.AccessibleContext,
58).AccessibleContext ' 58 TABLE
End If
End Function ' GetAccessibleSpreadsheet
Version: 26.2.0.3 (X86_64)
Build ID: 620(Build:3)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster;
VCL: win
Locale: en-CA (en_CA); UI: en-GB
Calc: CL threaded
Device name AZC
Processor Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (3.19 GHz)
Installed RAM 16.0 GB (15.9 GB usable)
Device ID 43C005FD-F30B-4F98-A0E5-17357AF05DBA
Product ID 00326-10000-00000-AA421
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 11 Home
Version 24H2
Installed on 2025-04-20
OS build 26100.7840
Experience Windows Feature Experience Pack 1000.26100.291.0
--
You are receiving this mail because:
You are the assignee for the bug.