Removing or hiding unused lines

A

Athodyd

How can I automate removing or hiding lines from a table in Word?

I have created an order form having a table with an article on each row.
I'll have the customer fillin the amount of the article he wants to order in
the last column.
Fine sofar.
Now I want some automated method of hiding/removing all the article lines
(table rows) that have no order amount.
So only the ordered articles can be printed.

Any ideas? Or even an example?

TIA
 
S

Stefan Blom

You can format an entire table row as hidden: Select the row, from the
Format menu, choose Font. In the Font dialog box, make sure that
"Hidden" is selected on the Font tab. You can then use the Options
dialog box (accessed from the Tools menu) to prevent hidden text from
displaying and/or printing (View tab and Print tab, respectively).

Note, however, that you need a macro to automate this. If you need
help, you might want to ask the question in a VBA newsgroup, such as
microsoft.public.word.vba.general, instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top