View Single Post
 
Old 01-18-2021, 02:42 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The \b and \f switches don't work with other switches. Instead, you could code the mergefield as:
{ MERGEFIELD Cost \# "'$→'0.00' '; '$→'(0.00)"}
or:
{ MERGEFIELD Cost \# "'$→'0.00; '$→'-0.00"}
and use a right-aligned tab in the cell.

To suppress 0 outputs, you could code the mergefield as:
{ MERGEFIELD Cost \# "'$→'0.00' '; '$→'(0.00);"}
or:
{ MERGEFIELD Cost \# "'$→'0.00; '$→'-0.00;"}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote