fill open curves check box = true

Good day all.

I am looking for some help with VBA coding. I need to be able to make sure that the fill open curves checkbox is checked before I export my ai file to sent to my plotter. If this box is not checked then any straight lines do not show up in the Sign lab cut program.

Can any one provide me with a way to accomplish this with VBA? The closest I have been able to get is to automatically open the window with the following code.

Application.FrameWork.Automation.Invoke "c90df3e4-0487-5dae-4313-789a4d1c9c25"

current software is Corel 2019 v21.10.643

Thank you for any help.