Hello James,
try this (iLogic code)
Private Sub SetSheetname()
Dim oDrawDoc As Inventor.DrawingDocument = Thisapplication.ActiveDocument
' Set a reference to the drawing document.
' This assumes a drawing document is active.
' Obtain a reference to the desired border defintion.
Dim oTitleBlockDef As TitleBlockDefinition
oTitleBlockDef = oDrawDoc.TitleBlockDefinitions.Item("Sample Title Block")
Dim oSheet As Sheet
oSheet = oDrawDoc.ActiveSheet
' Check to see if the sheet already has a title block and delete it if it does.
If Not oSheet.TitleBlock Is Nothing Then
oSheet.TitleBlock.Delete()
End If
' This title block definition contains one prompted string input. An array
' must be input that contains the strings for the prompted strings.
Dim sPromptStrings(0) As String 'start counting by 0 !!!
sPromptStrings(0) = oSheet.Name 'if there is only one promped entry
'sPromptStrings(1) = "String 2"
' Add an instance of the title block definition to the sheet.
Dim oTitleBlock As TitleBlock
oTitleBlock = oSheet.AddTitleBlock(oTitleBlockDef, , sPromptStrings)
End Sub
most of it comes from the Inventor help.
important is that you addres ALL prompted entries, so in this case there is only one.
if you have more, for example 2 then start counting by zero, so you have two lines: (0 and 1)
this will work for the active sheet, if you have more than one, make a for each loop to go through all sheets.
put this rule on a befor save trigger
If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated

Succes on your project, and have a nice day
Herm Jan