Hi!
I need to hide a listbox when the other listbox is changed.
Spent 3 days reading manuals and forums, trying to combine different solutions, with no luck.
Made a sample file, please help to correct the code.
Thank you.
test macro.ods (43.6 KB)
Sub InitialForm()
ThisComponent.CurrentController.ActiveSheet.Drawpage.Forms.getByName("List").Visible = False
End Sub