Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting to Excel File
Message
 
À
16/08/2000 08:32:44
Victor Lapid
Phil. Long Distance Tel. Co.
Manila, Philippines
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00405423
Message ID:
00405437
Vues:
20
>Good Evening,
>
> Any code to export a filtered recordset to an excel file?
>
> Million Thanks.

If your recordset is DAO, you can use the CopyFromRecordset method (of the Range object).

If ADO, you can copy your recordset into a array (using the GetRows method of the recordset) and then copy your array.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform