Hello @ProRuzneDrobnosti,
Yes indeed you can. I made a small set up with :
1. An Excel fine named TitleBlock.xlsx placed inside the active Inventor project
1.1 Inside a table with two columns : properties & their values

2. A custom title block with promts set with the same name as inside the Excel file :

Then, we can make a first function that will gather the information, and fille the titleblock afterward. Here is the sample code in iLogic :
Sub main
Dim excelTable As Dictionary(Of String, String) = get_inputs
Dim doc As Inventor.DrawingDocument = ThisApplication.ActiveDocument
Dim titleblock As Inventor.TitleBlock = doc.ActiveSheet.TitleBlock
Dim s As Inventor.DrawingSketch = titleblock.Definition.Sketch
For Each t As Inventor.TextBox In s.TextBoxes
For Each k As String In excelTable.Keys
If t.Text = "<" & k & ">" Then
titleblock.SetPromptResultText(t, excelTable(k))
Exit For
End If
Next
Next
End Sub
Function get_inputs() As Dictionary(Of String, String)
Dim propertiesColumn As String = "A"
Dim valuesColumn As String = "B"
Dim firstLine As Integer = 1
Dim lastLine As Integer = 3
Dim excelTable As New Dictionary(Of String, String)
For i As Byte = firstLine To lastLine
Dim p As String = GoExcel.CellValue("TitleBlock.xlsx", "Tabelle1", propertiesColumn & i)
Dim v As String = GoExcel.CellValue("TitleBlock.xlsx", "Tabelle1", valuesColumn & i)
excelTable.Add(p, v)
Next
GoExcel.Close
Return excelTable
End Function
Note the properties names inside excel & the prompt names inside Inventor must perfectly match.

Does this suits your needs ?
Kind regards,
FINET L.
If this post solved your question, please kindly mark it as "Solution"
If this post helped out in any way to solve your question, please drop a "Like"@LinkedIn @JohnCockerill