View Single Post
 
Old 12-23-2013, 09:35 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
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

Quote:
Originally Posted by hadenp View Post
I can list the values, but how do I format them to look 'good' on the page? For me, that means right justifying the $ amounts under the "Amount" heading. Is that best done with tabs? How do I specify that within the field code syntax that I'm using to generate the list?
A single right-aligned tab-stop in the field code and a corresponding tab character between the relevant fields will suffice.
Quote:
Also, how to underline the heading text? The output would ideally look something like this - only better.

Date………......Amount
Feb/01/2013 $225.00
Mar/01/2013 $10.00
Apr/01/2013 $50.00
------------------------------
Total $285.00
Just as the tutorial demonstrates headings with bold text, you can apply an underline format at the same point.
Quote:
Finally, I'd like to have Total line at the bottom with a sum of the amounts. Is that best calculated as a formula the Excel spreadsheet? How would I underline the last amount
For the total line, the tutorial provides two options, described in the tutorial's 'Using an Extra Field to Generate the Trailing Content Per Group' or 'Calculating Group and Sub-Group Totals' examples, respectively. Note that using an underline for the last record with either of these will necessitate a suitably-formatted line to be inserted just above the code that actually outputs the total, not in the other data lines.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote