T
Terry Fox
I'm having trouble naming a new worksheet I added to an excel workbook.
Here is the basic code I'm using to open a new workbook and create the new
worksheet, but I can't figure out for the life of me how to name this new
worksheet after creating it. It's probably pretty simple, but I just can't
seem to get it, any help would be appreicated.
Dim ObjExcel As Excel.Application
Set ObjExcel = New Excel.Application
ObjExcel.Worksheets.Add
Terry
Here is the basic code I'm using to open a new workbook and create the new
worksheet, but I can't figure out for the life of me how to name this new
worksheet after creating it. It's probably pretty simple, but I just can't
seem to get it, any help would be appreicated.
Dim ObjExcel As Excel.Application
Set ObjExcel = New Excel.Application
ObjExcel.Worksheets.Add
Terry