Good Morning:
I have to open approximately 4000 XML files, export some data and then close the XML file. I can open the form just fine and I can export the data just fine; however, I can not auto close the file once the export of the data is completed. I have tried the following commands:
thisXDocument.View.Window.Close(True) & thisApplication.Quit(False)
True) & thisApplication.Quit(False)The only way that I can get these two commands to work sucessfully is to put them behind a button control. So, I am looking for any help on how to either call the on click event of the button control or another way to auto close the form.
Any suggestions would be greatly appreciated.
Thanks!
Bill