Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Renaming and Creating Worksheets
#2
Macro
Code:
Copy      Help
out
str sfile="$personal$\book1.xls"
Excel.Application app._create
Excel.Workbook book=app.Workbooks.Open(_s.expandpath(sfile))
app.Visible=-1
Excel.Worksheet ws=book.Worksheets.Add
ws.Name="test"
;
;book.Save
;book.Close


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)