Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error code vfp and Excel
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Error code vfp and Excel
Miscellaneous
Thread ID:
00770958
Message ID:
00770958
Views:
35
Hi,
I am automating with vfp and excel spreadsheet when I get an error?

Fatal error, exception code c000005
line 131 Time and Date

This line which I thought mimics me selecting two columns manually makes the error ??

o.Application.Range("D:E").Select
o.Application.Selection.EntireColumn.Insert

but these do not

o.Application.Range("D1").Select
o.Application.Selection.EntireColumn.Insert
o.Application.Range("D1").Select
o.Application.Selection.EntireColumn.Insert
Next
Reply
Map
View

Click here to load this message in the networking platform