Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2007

Tip: Looking for answers? Try searching our database.

Custom Form Field Type?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerry Sattler - 19 Nov 2007 12:44 GMT
I need to be able to enter and calculate prices which may have 4 decimal
point.  The number  option only offers  limited formatting options.  How can
I add the ones I need?  Ideally I would like to show 2 decimal places unless
I enter  more places manually.  Using a macro  would also be fine to turn on
the extended decimal places.  Thank you for any assistance you can offer.

Jerry
Graham Mayor - 19 Nov 2007 15:05 GMT
Using fields to calculate your prices, the number of decimal places
shouldn't matter. The calculation should use the maximum number of places.
Just leave out the switch.

${ ={ REF Text1 } + { Ref Text2 } + { REF Text3 } } = $32.3083
or
If you want the final total to be limited to two decimal places put the
switch at the end of the calculation eg

{ ={ REF Text1 } + { Ref Text2 } + { REF Text3 } \# "$,0.00"} = $32.31

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I need to be able to enter and calculate prices which may have 4
> decimal point.  The number  option only offers  limited formatting
[quoted text clipped - 4 lines]
>
> Jerry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.