Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send values to an Excel Spreadsheet
Message
 
To
07/01/1999 16:52:16
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00173811
Message ID:
00173857
Views:
22
>I have to take a handfull of text and numeric values from within a FoxPro application and insert them into an Excel Spreadsheet.
>
>The Excel Spreadsheet probably won't exist but that is negotiable, I may also need to do some formatting.
>
>Would any kind soul suggest a starting point or a general methodology for this.
>
>Many thanks,
>
>Gerry.

Gerry --

1. Use CREATE CURSOR MyCursor to make a cursor with the appropriate columns you want to see in the spreadsheet.

2. Populate MyCursor cursor with data.

3. SELECT MyCursor to make the cursor the current work area.

4. Copy the contents of the cursor into an Excel spreadsheet file:

COPY TO MySheet TYPE XL5


Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform