I want to start a workbook and add sheets to it one at a time.
Right now my code opens a workbook and it has 3 sheets alread in it and
I don't even know how to move from one to another. Any help would be
appreciated. Here is my code.
Dim oXL As Excel.Applicati on
Dim oWB As Excel.Workbook
Dim oSheet As Excel.Worksheet
oXL = CreateObject("E xcel.Applicatio n")
oXL.Visible = True
oWB = oXL.Workbooks.A dd
Right now my code opens a workbook and it has 3 sheets alread in it and
I don't even know how to move from one to another. Any help would be
appreciated. Here is my code.
Dim oXL As Excel.Applicati on
Dim oWB As Excel.Workbook
Dim oSheet As Excel.Worksheet
oXL = CreateObject("E xcel.Applicatio n")
oXL.Visible = True
oWB = oXL.Workbooks.A dd
Comment