10-24-2008, 10:51 PM
Ok...this adds tabs with a consecutive number (ie Sheet4, Sheet5, Sheet6, etc...)
Function Rename_Tab
Is there anyway to get it to add a Sheet with a specified name?
I thought book.Worksheet.Add("NewSheetName") would work, but doesn't
Function Rename_Tab
out
str sfile="$desktop$\Excel Sheet Names.xls"
Excel.Application app._create
Excel.Workbook book=app.Workbooks.Open(_s.expandpath(sfile))
book.Worksheets.Add
book.Save
book.Close
Is there anyway to get it to add a Sheet with a specified name?
I thought book.Worksheet.Add("NewSheetName") would work, but doesn't