Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to put data in Ms-Excel template ?
Message
From
25/10/2001 10:43:02
 
 
To
25/10/2001 10:27:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00572860
Message ID:
00573192
Views:
34
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform