Na veel ploeteren lukt het me om een word docje te spugen. Ik krijg het alleen niet voor elkaar om een paragraaf rechts uit te lijnen.
Dit heb ik:
Kan iemand me vertellen wat ik fout doe of de goede code plaatsen?
Dit heb ik:
ASP:
1
2
3
4
5
6
7
8
9
10
11
12
13
| Dim MyDoc Set MyDoc = CreateObject("Word.Document") MyDoc.Application.Visible = True Set MyRange1 = MyDoc.Paragraphs(1).range With MyRange1 .Font.Name = "Verdana" .Font.Size = 10 .InsertParagraphBefore .ParaGraphFormat.alignment = wdAlignParagraphRight .InsertBefore "rechts" end with 'MyDoc.PrintOut Set MyDoc = Nothing |
Kan iemand me vertellen wat ik fout doe of de goede code plaatsen?
And Bob's your uncle ...