https://bugs.documentfoundation.org/show_bug.cgi?id=151548
Bug ID: 151548
Summary: No access to FormField controls in StarBASIC/VBA
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 108908
Created attachment 183065
--> https://bugs.documentfoundation.org/attachment.cgi?id=183065&action=edit
formfieldMacros.doc: macro on check1 (check2 = check1)
Of the three types of form controls (formfields, activeX, content controls),
only activeX controls can trigger macros or be modified by macros.
AFAIK, only Word (not Excel) has "formfields" - which are a variation on
bookmarks.
sw/source/ui/vba/vbadocument.cxx SwVbaDocument::FormFields is an empty stub.
Steps to reproduce:
1.) Open the document. This report focus on the bottom checkboxes in Toolbar -
Forms.
2.) press "Clear all checkboxes" button. This should clear all 4 checkboxes.
3.) re-check the first Toolbar-Forms-checkbox and press "tab" to move to the
next one. (The on-exit macro should kick in with a msgbox and turn Check2 off).
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=108908
[Bug 108908] [META] Visual Basic for Applications (VBA) macro issues
--
You are receiving this mail because:
You are the assignee for the bug.