Article ID: 117705
Article Last Modified on 1/19/2007
SUBTOTAL| **** | <- cell D9 (contains a FORM field)
DEPOSIT| | <- cell D10 (blank)
SALES TAX| **** | <- cell D11 (contains a FORM field)
SHIPPING & HANDLING| **** | <- cell D12 (contains a FORM field)
TOTAL DUE| **** | <- cell D13 (contains a FORM field)
$#,##0.00;($#,##0.00)
=SUM(D9,D11,D12)-SUM(D10)
If fieldName$ = "Shipping" Or fieldName$ = "SalesTax" Then Goto TOTAL EndIfto the following:
If fieldName$ = "Shipping" Or fieldName$ = "SalesTax" _ Or fieldName$ = "Deposit" Then Goto TOTAL EndIfNOTE: In this macro, "Deposit" is the bookmark name you set in step 11. If you set a different bookmark name in step 11, use that name instead of "Deposit" in the Update macro.
SUBTOTAL| **** | <- cell D9 (contains a FORM field)
DEPOSIT| | <- cell D10 (blank)
SALES TAX| **** | <- cell D11 (contains a FORM field)
SHIPPING & HANDLING| **** | <- cell D12 (contains a FORM field)
TOTAL DUE| **** | <- cell D13 (contains a FORM field)
=SUM(D9,D11,D12)-SUM(D10)
If fieldName$ = "Shipping" Or fieldName$ = "SalesTax" Then Goto TOTAL EndIfto the following:
If fieldName$ = "Shipping" Or fieldName$ = "SalesTax" _ Or fieldName$ = "Deposit" Then Goto TOTAL EndIfNOTE: In the this macro, "Deposit" is the bookmark name you set in step 9. If you set a different bookmark name in step 9, use that name instead of "Deposit" in the Update macro.
120802 Office: How to Add/Remove a Single Office Program or Component
Additional query words: financial
Keywords: kbtable kbtemplate KB117705