Nov 11, 2003 #1 omr1119 Programmer Oct 7, 2003 34 0 0 PH Hi, How to Rename Sheet1 in Xls, change or re-name to NewSheet using Vfp6. What is the Syntax? thanks in advance, OMR
Hi, How to Rename Sheet1 in Xls, change or re-name to NewSheet using Vfp6. What is the Syntax? thanks in advance, OMR
Nov 12, 2003 #2 jimoo Programmer Jun 2, 2003 1,111 0 0 US I think this what you are looking for. local oExcel, oSheet oExcel = CreateObject("Excel.Application" oExcel.Visible = .T. oExcel.Workbooks.Add() oExcel.Sheets("Sheet1".Select oExcel.Sheets("Sheet1".Name = "MySheet" Jim Osieczonek Delta Business Group, LLC http://www.deltabg.com Upvote 0 Downvote
I think this what you are looking for. local oExcel, oSheet oExcel = CreateObject("Excel.Application" oExcel.Visible = .T. oExcel.Workbooks.Add() oExcel.Sheets("Sheet1".Select oExcel.Sheets("Sheet1".Name = "MySheet" Jim Osieczonek Delta Business Group, LLC http://www.deltabg.com
Nov 12, 2003 Thread starter #3 omr1119 Programmer Oct 7, 2003 34 0 0 PH Hi Jim, It works..... Thanks a lot OMR Upvote 0 Downvote