Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Automation: Copy and Paste in Excel
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
OLE Automation: Copy and Paste in Excel
Miscellaneous
Thread ID:
00063613
Message ID:
00063613
Views:
112
Hello,

I am trying to copy a selection on an Excel Sheet by using these commands:

thisform.oleSheet.ActiveSheet.Range("A1").Copy
thisform.oleSheet.ActiveSheet.Range("A2").Select
thisform.oleSheet.ActiveSheet.Paste

The first and last line works fine, but I receive an error
that: Unable to access the Select property of the Range class

Is there any workaround? or am I doing something wrong?

TIA

Shahbaz Ahmer
shahbaz@cyber.net.pk
Shahbaz Ahmer
Softnology Systems (Pvt) Ltd.
Reply
Map
View

Click here to load this message in the networking platform