Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field width problems with Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00788722
Message ID:
00789062
Views:
36
>In Excel you can select column and from the Format menu select Column -> AutoFit Selection. I am sure this code be done through VFP.

Yes, and no offense, but that's not the point here - *I* don't always like what *Excel* likes as an autofit (same with vfp autofits, to be fair). With very many columns with wide-autofit, it can make user have to do lots of horizontal scrolling (ugh!). So, I always customize my grids and Excel columns visually (for any fixed-field exports, that is), often sizing them smaller than autofit, so more columns will be displayed without any scrolling. The user can widen them as they choose, later.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform