Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transfer Excel file to DBF file automatically within VFP
Message
De
19/03/2003 17:11:16
 
 
À
14/03/2003 02:32:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00765739
Message ID:
00767848
Vues:
14
Hi Budianto,

Something like this might work:

#DEFINE xlDBF4 11
x = 0
FOR EACH loSheet in oXL.Sheets
x = x+1
lcTable = "Sheet" + transform(x)
loSheet.SaveAs(lcTable, xlDBF4)
ENDFOR
Can' guarantee the translation, but you'll get a table from each sheet.

pamela

>Hi all,
>
>Anyone knows how to transfer exel file to dbf file within VFP automatically, the exel file has more than one worksheet. I did some testing using macro exel but couldn't find the right syntax in VFP
>
>
>
>TIA,
>
>Budianto
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform