Hi,
From my app I open an existing worddoc.
Once I've printed some items (from VFP by automation in Word) I'd like to do some tabsettings.
To so code I recorded a macro in Word.
Now I get stuck on how VFP-code for
ActiveDocument.DefaultTabStop = CentimetersToPoints(1.25)
Selection.ParagraphFormat.TabStops.Add Position:=CentimetersToPoints(5)
and
Leader:=wdTabLeaderSpaces
Does someone know a white paper about these matters (apart from the great article of Tamar Granor
TIA
-Bart
From my app I open an existing worddoc.
Once I've printed some items (from VFP by automation in Word) I'd like to do some tabsettings.
To so code I recorded a macro in Word.
Code:
macro recorde in Word
Selection.ParagraphFormat.TabStops.ClearAll
ActiveDocument.DefaultTabStop = CentimetersToPoints(1.25)
Selection.ParagraphFormat.TabStops.Add Position:=CentimetersToPoints(5), _
Alignment:=wdAlignTabLeft, Leader:=wdTabLeaderSpaces
ActiveDocument.DefaultTabStop = CentimetersToPoints(1.25)
Selection.ParagraphFormat.TabStops.Add Position:=CentimetersToPoints(5)
and
Leader:=wdTabLeaderSpaces
Does someone know a white paper about these matters (apart from the great article of Tamar Granor
TIA
-Bart