Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing stuff in an exported spreadsheet
Message
From
28/07/2006 15:40:13
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01141321
Message ID:
01141330
Views:
26
>>Phew! I've just about finished my panic report. Now I've exported it to Excel. I know how to automate the s/s but I just need to know how to:
>>
>>1) remove duplicate cells' text, e.g. I don't want a column of bus operators all the same, but when the op. changes I want the name to show.
>
>I dunno if there's simple way, but you can loop through the column and blank out duplicate text. You can do that in your cursor before export.
>
>>2) reorder the columns. The cursor is not in the same L-R field order as the format of my report but I'd like to get the s/s to resemble it as much a sposs.
>
>You can run one more select before export to put columns in proper order.

Thanks Sergey. Good ideas
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform