>The Modal form is called from another form. It has 2 radio buttons, a 2 button group, a close button and a combobox. the combobox selects an excel file. If the excel file is not the correct format, control is returned to the form. If I don't select the combobox and click the close button the form closes. If I select the combobox the form just sits there whwen I click the close button. Even the local varibles created in the destroy event will not release (I put in a for/endfor routine to close all the objects before doing thisform.release as a test ). the event log looks like the form should be closed.
When you say you "close all the objects", what does that mean? It sounds like an object reference that hasn't been set to .NULL.. When you check the format of the Excel file, do you create an instance of Excel? If so, do you quit Excel (oExcel.Quit) and set the variable to .NULL.?
Just some thoughts.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao