View Single Post
  #1   Report Post  
Olivia Towery
 
Posts: n/a
Default Creating Worksheet Using Server Object

I have been successfully using the CreateObject("Excel.Application") to
create a workbook from three separate tables in a sql db. Now I want to add
a 4th worksheet to the
workbook, however since the default is 3 worksheets, I get an error.

I use the code -
.Workbooks.Add ' Adds a blank sheet set

What do I need to do to add a sheet to this set?

--
Olivia Towery