Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Styles in Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01534356
Message ID:
01534366
Views:
47
Maybe it's security issue. Try to run it as admin for testing.

>
>Users just recently began reporting problems with some Excel automation code that used to work:
>
>loDocument.styles.add(lcStyle)
>
>generates the error: OLE IDispatch exception code 0 from Microsoft Excel: Unable to get the Add property of the Styles class..
>
>This is not a commonly used feature of the app, so the problem may have existed for awhile. I've tested and found the problem in Excel 2007 and 2010. Any help would be appreciated.
>
>TIA
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform