Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Excel Paste Link in VFP

Status
Not open for further replies.

pristau

Instructor
Aug 24, 2006
2
US
I cannot deduce how to implement Excel's Paste Link function in VFP (v.8 in this case). Recording a macro in Excel results in the following VB code (snippet):

...
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste Link:=True
...

What is the VFP equivalent of .Paste Link:=True? I have tried .PasteLink(),which fails.

Moreover, is there a convention or rule for translating these kinds of VB statements to equivalent VFP statements?

Thanks, Tamar and Della, for your getting me thus far by your book Microsoft Office Automation with Visual FoxPro.

Regards,

Peter Ristau
 
Code:
ActiveSheet.Paste(, .t.)

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Perfect! Works great; thanks, Borislav.

-Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top