Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing a spreadsheet-like HTML file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01155024
Message ID:
01155033
Vues:
29
>>>Is it possible to import an HTML file, in a spreadsheet-like format, directly into a VFP table? It's not in the syntax of VFP7's import or copy to.
>>>
>>>I guess I need to manually convert it to XLS, or delim (or whatever) first?
>>>
>>>'ppreciate it
>>>
>>>Terry
>>
>>Directly, no.
>>But you could use Automation to open that HTML in Excel, save it as usual XLS file and then import it in VFP.
>
>Thanks Boris
>
>I presume that once I've created the excel object I use, like, loExcel.Open ( lcMyFileName) ?
>
>Terry
#DEFINE xlNormal -4143

oExcel.Open([...........]) && Full path and file name of HTML file
oExcel.ActiveWorkBook.SaveAs([Test.XLS],xlNormal)
Not tested.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform