Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue]Set Excelapp = CreateObject("Excel.Application")
Set ExcelWorkbook = Excelapp.Workbooks.Add 'Then 1 2 and 3 Sheets
Set ExcelSheet = ExcelWorkbook.worksheets(1)
ExcelSheet.Name = "All"
Set ExcelSheet2 = ExcelWorkbook.worksheets(2)
ExcelSheet2.Name = "A"
Set ExcelSheet3 = ExcelWorkbook.worksheets(3)
ExcelSheet3.Name = "O"
Dim xSheets As Integer
For xSheets = 1 To 3 ' Main Loop.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
With ExcelWorkbook.worksheets(xSheets)
Debug.Print .Name ' this represents where the bulk of your own code would go
End With
Next[/blue]
[blue]Set Excelapp = CreateObject("Excel.Application")
Set ExcelWorkbook = Excelapp.Workbooks.Add 'Then 1 2 and 3 Sheets
Dim xSheets As Integer
For xSheets = 1 To 3 ' Main Loop.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
With ExcelWorkbook.worksheets(xSheets)
.Name = Array("All", "A", "O")(xSheets - 1) ' Or a Select Case statement if you are feeling more traditional
Debug.Print .Name ' this represents where the bulk of your own code would go
End With
Next
End Sub[/blue]