Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel columnwidth type mismatch
Message
From
31/03/2006 10:22:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Excel columnwidth type mismatch
Miscellaneous
Thread ID:
01109500
Message ID:
01109500
Views:
72
Hi

I'm creating an excel spreadsheet and want to adjust the columnwidth to the size of some text.

the line

.sheets(lnsheet).Columns(CHR(ncol+64 )+":"+CHR(ncol+64)).ColumnWidth=lncolwidth

works perfectly if I set excel to be visible.

But if I set excel to be not visible the same line gives me a type mismatch.

Any ideas why that is .

This is excel97 (be 10 years old soon)

Nick
Next
Reply
Map
View

Click here to load this message in the networking platform