Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to put data in Ms-Excel template ?
Message
De
25/10/2001 10:43:02
 
 
À
25/10/2001 10:27:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00572860
Message ID:
00573192
Vues:
33
Marc,
Just manipulate _CLIPTEXT before sending the data to Excel:
_vfp.DataToClip(ALIAS(),,3)
lnLines = ALINES(laClipboard, _CLIPTEXT)
_CLIPTEXT=""
FOR i=2 TO lnLines
	_CLIPTEXT = _CLIPTEXT + laClipboard[i] + CHR(13) + CHR(10)
ENDFOR &&* i=2 TO lnLines

*-- copy data to Excel
HTH
>When I copy in the clipboard my cursor and
>after I paste it in the Excel sheet, the
>field names are also pasted.
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform