Nouvelle page word en vb6
@£e><
Messages postés
69
Statut
Membre
-
@£e>< Messages postés 69 Statut Membre -
@£e>< Messages postés 69 Statut Membre -
Bonjour,
comment insérer une page word en vb6?
merci
comment insérer une page word en vb6?
merci
Configuration: Windows XP Internet Explorer 7.0
2 réponses
-
Private Sub Command1_Click()
Dim DocWord As Word.Document
Dim AppWord As Word.Application
Set AppWord = New Word.Application
AppWord.ShowMe
AppWord.Visible = True
'Ajoute un document
AppWord.Documents.Add
With AppWord.Selection
.TypeParagraph
.TypeText Text:="Procédure pour écrire dans Word "
.TypeParagraph
.TypeText Text:="pitxu is the best"
.TypeParagraph
.TypeParagraph
.TypeText Text1
End With
End Sub -
merci, mais en fait c'est pas tout a fait ca, ce ke tu viens de donner ca ouvre un nouveau doc a chaque fois. Moi je voudrais qu'il ecrive a la suite. faire un publipostage en fait....