Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test for #### in Excel
Message
 
 
À
20/02/2007 07:50:24
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01197204
Message ID:
01197219
Vues:
15
>Naomi
>
>Thanks for your response. However, I have tried to follow the logic but cannot.
>Also I cannot directly test it using copy-paste since I still use VFP6 which does not support TRY CATCH statements. I hope you wont mind explaining this logic line-by-line. Also what I am actually interested in is not the WIDEST entry but whether or not a numeric cell will be displayed as ###### due to less column width.
>
>Fred

For numeric columns AutoFit is usually enough. In my sample I tried to set width to 240 (looks like it's close to maximum) if the width was greater than 15 after AutoFit. I did it because I needed to put Excel into DBF and my long description fields were truncated otherwise.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform