Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of present range error on Windows 7
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01564675
Message ID:
01565081
Views:
39
>>>>We are getting the OLE error code .... Out of present range only on Windows 7 machine.
>>>>I am running xp with no problem. users with Windows 7 getting that error while populating excel.
>>>>
>>>>I am just not sure what the different between xp and windows 7 to cause such an error.
>>>>or maybe it is just coincidence and the problem is not related.
>>>>
>>>>any suggestion???
>>>
>>>What is the code where you get this error?
>>
>>it is on a user machine i don't know exactly where. but the program doing 1000s of this statement (just an example)
>>XLSheet.cells(row_num, col_num).VALUE = data1
>
>Is this something that happens every time they try to write to excel? If so, I'd look at where the Excel file is - Security in Win7 makes places like the Program Files folder tree readonly unless you specifically allow access.

thanks guys, I am not sure what was the problem but I added new changes and everything is working fine now.
Previous
Reply
Map
View

Click here to load this message in the networking platform