Is it possible to programmatically suppress, dismiss, or accept the Import Lotus file dialog box that asks for the Character set when opening a Lotus document?
I have a user with decades of old Lotus (*.123) files that need to be converted to Excel. I am able to successfully open and save the files as needed with a macro, but that dialog box appears for each file that opens.
As there are decades of files, with each year containing daily, weekly, and monthly summaries, this adds up to thousands of documents. So that dialog box is rather inconvenient.
This is the code used to open the files:
Prop(0).name = "FilterName"
Prop(0).value = "Lotus:3"
oDoc = StarDesktop.loadComponentFromURL(FileNameURL, "_blank", 0, Prop())
I have experience with Visual Basic for Applications, but I am new to LibreOffice and admittedly do not have a good grasp of the object model yet. My web searches located many comments from those wanting to suppress a similar dialog when opening CSV files, and I assume this is related. But I was not able to find a solution.
Is it possible to do this? Even with something as inelegant as a SendKeys equivalent to press the OK button?
Thanks