Sub Document_TextBoxes()
Dim oCtl As InlineShape --------- šta je ovo oCtl
Dim oTB
For Each oCtl In ActiveDocument.InlineShapes ------?
If oCtl.OLEFormat.ProgID = "Forms.TextBox.1" Then--------? znam da je ogički uslov ?
Set oTB = oCtl.OLEFormat.Object
oTB.Text = "Sample Text"
End If
Next
End Sub
Dim oCtl As InlineShape --------- šta je ovo oCtl
Dim oTB
For Each oCtl In ActiveDocument.InlineShapes ------?
If oCtl.OLEFormat.ProgID = "Forms.TextBox.1" Then--------? znam da je ogički uslov ?
Set oTB = oCtl.OLEFormat.Object
oTB.Text = "Sample Text"
End If
Next
End Sub