Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Public Sub Font_Enumerate()
Dim i As Integer, oDoc As Document, oParagraph As Paragraph
Set oDoc = ThisDocument
oDoc.Bookmarks("\EndOfDoc").Select ' Курсор - в конец документа
For i = 1 To Application.FontNames.Count
DoEvents
oDoc.Content.InsertParagraphAfter
Set oParagraph = oDoc.Paragraphs(oDoc.Paragraphs.Count)
oParagraph.Range.Text = "Studieren, studieren, studieren (c). " & vbTab & Application.FontNames(i)
oParagraph.Range.Sentences(1).Font.Name = Application.FontNames(i)
Next i
Set oDoc = Nothing
End Sub
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question