VB ile Worde yazı yazmak
03 Mart 2009 – 13:45Formumuza bir adet button ekledikten sonra aşağıdaki kodları eklemiş olduğumuz butonun içine yazıyoruz.
[VB]
Private Sub Command1_Click()
Set w1 = New Word.Application
w1.Visible = True
w1.Documents.Add
w1.Selection.TypeText “bilyaz.com örnek kodlar”
Set w1 = Nothing
End Sub

