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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automation

Status
Not open for further replies.

BRADLEY21

Programmer
Sep 19, 2002
35
US
From VFP 8.0 I have opened an excel spreadsheet insert data and formated the sheet, all which I have done effortlessly by copying the VBA macro code in VFP and tweaking it here and there.

Now I want to save the spreadsheet with a name but can not do it I tried XLApp.WorkBooks.saveas() but I failed.

Any help would be appreciated.
 
.DisplayAlerts = .f. &&optional
.ActiveSheet.saveas("c:\MyPath\MyName")

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top