You're welcome, and I'm glad that you also found a solution to your second question. I thought that automation was the only way, but I was not absolutely sure.
>thanks tore
>as for second part - i have found this works:
>
>oXL = CREATEOBJECT("Excel.Application")
>oWorkbook = oXL.Workbooks.Open('myxfile.xls')
>oRange = oWorkbook.Sheets[1].Rows[1]
>oRange.Delete()
>
>>>Two parter: would appreciate comments on either or both
>>>1.
>>>Is it still safe to convert dbf to xls with the following:
>>>copy file myfile.dbf to myxfile.xls
>>>It works but i'm wondering if office (2007) is viewing this file as a fake xls
>>
>>use myfile
>>copy to myfile xls
>>And yes, it's safe.
>>
>>>2.
>>>how do i remove top line of my newly copied xls?
>>
>>>many thanks
>>>k