RevenueSwede
Programmer
Hi!
I have a working function that produces a graph on one worksheet and the data is placed on another worksheet. Now I want to add a third worksheet. I'm confused by the syntax..
I have a workbookobject called xlWrkbk and I have put a Dim xlWks as Excel.Worksheet on the top
Set xlWks = xlWrkbk.Sheets.Add( it wants before, after as parameters. What are the parameters, I want it as number three.
I have a working function that produces a graph on one worksheet and the data is placed on another worksheet. Now I want to add a third worksheet. I'm confused by the syntax..
I have a workbookobject called xlWrkbk and I have put a Dim xlWks as Excel.Worksheet on the top
Set xlWks = xlWrkbk.Sheets.Add( it wants before, after as parameters. What are the parameters, I want it as number three.