Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy dbf to xls
Message
De
11/08/2010 16:00:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01476252
Message ID:
01476266
Vues:
47
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform