Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PasteSpecial in Excel
Message
From
16/07/2002 14:00:31
 
 
To
16/07/2002 11:59:02
Todd Brown
Teachers Credit Union
Granger, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00679175
Message ID:
00679249
Views:
19
This message has been marked as the solution to the initial question of the thread.
Try it
Let oSheet is Object WorkSeet from Excel where you are working
And Let "A1:B5" you need copy to "c1:g2"
Then

oRangeFrom=oSheet.Range(oSheet.Cells(1,1),oSheet.Cells(5,2))
oRangeTo=oSheet.Range(oSheet.Cells(1,3),oSheet.Cells(2,7))
oRangeFrom.Copy()
oRangeTo.SpecialPaste(-4104,-4142,.F.,.T.)

P.S.
I.m very sory
My English is very bad.

And for next time
If you want to see cod for xlAnithing
Create macros for excel

Range("a1").Value=xlAnithing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform