Word userform ile form yenileme

Katılım
12 Kasım 2014
Mesajlar
255
Excel Vers. ve Dili
2013
Altın Üyelik Bitiş Tarihi
15-05-2023
merhaba;

bir word belgem var ve belirlediğim yer işaretlarinie user form ile veri eklemek istiyorum aşağıdaki gibi bir kod oluşturdum fakat çalışmadı yardımcı olursanız çok sevinirim.


Private Sub ComboBox1_Change()

End Sub

Private Sub CommandButton1_Click()

ActiveDocument.Bookmarks("ad").Range.Select
Selection = TextBox1.Value

ActiveDocument.Bookmarks("soyad").Range.Select
Selection = TextBox2.Value


ActiveDocument.Bookmarks("tarih").Range.Select
Selection = TextBox3.Value


ActiveDocument.Bookmarks("sehir").Range.Select
Selection = ComboBox1.Value


End Sub

Private Sub CommandButton2_Click()
TextBox1.Value = Null
TextBox2.Value = Null
TextBox3.Value = Null
ComboBox1.Value = Null
End Sub

Private Sub TextBox1_Change()

End Sub

Private Sub TextBox2_Change()

End Sub

Private Sub TextBox3_Change()

End Sub
 

leumruk

Uzman
Uzman
Katılım
15 Nisan 2007
Mesajlar
3,471
Excel Vers. ve Dili
Office 2010 & 2013 tr
Kod:
Activedocument.Selection
 
Katılım
12 Kasım 2014
Mesajlar
255
Excel Vers. ve Dili
2013
Altın Üyelik Bitiş Tarihi
15-05-2023
teşekkür ederim
 
Katılım
12 Kasım 2014
Mesajlar
255
Excel Vers. ve Dili
2013
Altın Üyelik Bitiş Tarihi
15-05-2023
word içinde word dosya kısayolları

çok saolun
 
Üst