this.moWord = createobject( "word.application" ) this.moWorkOrder = this.moWord.Documents.Add( fullpath( "work order.dot" ) ) with this.moWorkOrder.PageSetup .LeftMargin = this.moWord.InchesToPoints( 0.5 ) .RightMargin = this.moWord.InchesToPoints( 0.5 ) .TopMargin = this.moWord.InchesToPoints( 0.3 ) .BottomMargin = this.moWord.InchesToPoints( 0.3 ) endwith>Can anyone tell me how to set the margins