Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to Excel, Column Headers
Message
From
04/12/2002 10:43:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00729441
Message ID:
00729446
Views:
12
>I have a table with 2 fields, startdate and enddate. I use a copy to xl5 to get the data into excel format, but I want to change the Column headings form startdate to Report Start Date and enddate to Report End Date.
>
>Is there a way to do this besides a low level open and STRTRAN?
>
>Hope I was clear!
>
>Thanks!

Yes, after doing a COPY TO or EXPORT, open the file in Excel, and change the headers. This can be done automatically from VFP, with a process called Automation. See my article on Excel Automation, at http://www.levelextreme.com/Magazine/September2002/Page45.asp.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform