Hi @t.adkins
In the example I posted Sheet1 was set to be excluded from the count, so the code is skipping that sheet, and it is adjusting the count by -1, using these 2 lines:
oRows = oDoc.Sheets.Count - 1
If oSheet.ExcludeFromCount = True Then Continue For

To include Sheet 1, even though it is excluded, we could use something like this example below.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument
Dim oSheet, oIndexSheet As Sheet
Dim sSheetName, sSheetNo, sSheetRev As String
Dim oTitleBlock As TitleBlock
Dim oTextBox As Inventor.TextBox
oIndexSheet = oDoc.Sheets(1)'In order to put table on sheet 1
'[Table Setup
Dim oColumns, oRows, oCells, i As Integer
oColumns = 3
i = 0
oRows = oDoc.Sheets.Count
oCells = oColumns * oRows 'calculate number of cells
Dim oContents(oCells - 1) As String 'Minus 1 as array will start from zero
Dim oTitles(oColumns - 1) As String 'Minus 1 as array will start from zero
'Hardcoded titles
oTitles(2) = "DESCRIPTION"
oTitles(1) = "SHEET #"
oTitles(0) = "SHEET REV"
']
For Each oSheet In oDoc.Sheets
sSplit = Split(oSheet.Name, ":")
Try : sSheetName = sSplit(0) : Catch : sSheetName = oSheet.Name : End Try
Try : sSheetNo = sSplit(1) : Catch : sSheetNo = "-" : End Try
sSheetRev = oSheet.Revision
Try 'to get title block
oTitleBlock = oSheet.TitleBlock
For Each oTextBox In oTitleBlock.Definition.Sketch.TextBoxes
If oTextBox.Text = "SHEET-NAME" Then
Call oTitleBlock.SetPromptResultText(oTextBox, sSheetName)
End If
Next
Catch
'handle error when no title block is on the sheet
End Try
'[Table Data
oContents(i) = sSheetRev 'Add to string
i = i + 1
oContents(i) = sSheetNo 'Add to string
i = i + 1
oContents(i) = sSheetName 'Add to string
i = i + 1
']
Next
Dim InsP As Point2d
InsP = ThisApplication.TransientGeometry.CreatePoint2d(10, 15)
Dim oCustomTable As CustomTable
oTableName = "DRAWING INDEX"
Try : oIndexSheet.CustomTables.Item(1).Delete : Catch : End Try
oCustomTable = oIndexSheet.CustomTables.Add(oTableName, InsP, oColumns, oRows, oTitles, oContents)
