This makes the margins for the first two pages, but the rest of the
document's margins don't follow?
oword = createobject("word.application")
oword.visible = .t.
oword.documents.open(lcword)
#define autoinchestopoints 72
#define wdtableaderdots 1
#define wdaligntabright 1
#define wdaligntableft 0
lnpointsfirsttab = oword.application.inchestopoints( 2.75 )
lnpointssecondtab = oword.application.inchestopoints( 3.96)
with oword.selection
with .pagesetup
.bottommargin = 2.10 * autoinchestopoints
.topmargin = .50 * autoinchestopoints
.leftmargin = 1.50 * autoinchestopoints
.rightmargin = 1.25 * autoinchestopoints
endwith
.wholestory
.paragraphformat.tabstops.add(lnpointsfirsttab, wdaligntabright,
wdtableaderdots)
.paragraphformat.tabstops.add(lnpointssecondtab, wdaligntableft,
wdtableaderdots)
.font.name = "Arial"
.font.size = 10
endwith
James E Harvey
Hanover Shoe Farms, Inc.
M.I.S./Corresponding Officer
Off: 717-637-8931
fax: 717-637-6766
email: [EMAIL PROTECTED]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.