>>>I have some code like this:
>>>
>>>oExcelObject = CREATEOBJECT('Excel.Application')
>>>oExcelWorkbook = oExcelObject.Application.Workbooks.Open(tlcExcelFileName)
>>>oExcelWorkbook.ActiveSheet.UsedRange.EntireColumn.AutoFit()
>>>oExcelWorkbook.Save
>>>RELEASE oExcelWorkbook
>>>RELEASE oExcelObject
>>>
>>>My problem is that Excel is still running after I do this - so I guess the RELEASE thingys I'm doing is not the the right way to do it. Suggestions anyone?
>>
>>Add after save:
>>oExcel.Quit()
>>oExcel = NULL
>
>Oh yes I've done this before...geeze is it Friday yet or what?
>
>Thanks!
Still Thursday here :)
If it's not broken, fix it until it is.
My Blog