Merhaba,

Activex ile ilgili bir sikinti diye hatirliyorum. Detay için:

Unless it's changed since Word 2003, ActiveX controls are not returned with that syntax.

You have to look for the InlineShape (or less likely the Shape) object that contains it.

Dim ctl As InlineShape
Dim obj As Object

For Each ctl In ActiveDocument.Sections(1).Footers(wdHeaderFooterP rimary).Range.InlineShapes
If ctl.Type = wdInlineShapeOLEControlObject Then ' test here
Set obj = ctl.OLEFormat.Object
Select Case TypeName(obj)
Case "TextBox"
If obj.Name = "AttDocPrep" then
obj.Value = AttFormPrep.Value
end if
End Select
End If
Next

However, do you have to use an ActiveX textbox? A bookmark, a single-celled table or a Word TextBox would be easier.


Ayrica bu konuyla ilgili Microsoft iletisim hattindan bu konuyla ilgili ucretsiz destek alabilirsiniz.

http://www.microsoft.com/turkiye/iletisim/default.mspx

Tel: 444 6787 (MSTR)

Kolay gelsin,

Emre AYDIN