Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how do I print rows only where tick box is ticked?

 
   Macintosh computer (Home) -> Excel RSS
Next:  Finding next available cell  
Author Message
Alison Green

External


Since: Jul 08, 2004
Posts: 1



(Msg. 1) Posted: Thu Jul 08, 2004 8:57 pm
Post subject: how do I print rows only where tick box is ticked?
Archived from groups: microsoft>public>mac>office>excel (more info?)

I need to build a questionnaire form which is a series of
descriptions, each with its own associated check box. For example:

changeable, fast moving [check box]
intense, driven [check box]
relaxed, laid back [check box]

Each question would be on a new row.

Any or all of the boxes can be checked by a client.

When they have completed the form, I want to be able to print it out
so that only the rows where they have checked the box are printed. If
they didn't check the box, the row wouldn't print.

I also need a "comments" field at the end of the questionnaire where I
can type in my comments. This field would also print out.

I have never built a form before and have never used macros. I do
understand how to use simple formulae in cells. I'm using an old copy
of Excel 98 on a Mac (OS9).

A step by step explanation would be VERY much appreciated. TIA.

 >> Stay informed about: how do I print rows only where tick box is ticked? 
Back to top
Login to vote
Bob Greenblatt

External


Since: May 27, 2004
Posts: 109



(Msg. 2) Posted: Fri Jul 09, 2004 12:06 pm
Post subject: Re: how do I print rows only where tick box is ticked? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 7/8/04 8:57 PM, in article
3e2b2ad8.0407081657.1d9b2af5.RemoveThis@posting.google.com, "Alison Green"
<alison.RemoveThis@webweaver.co.nz> wrote:

 > I need to build a questionnaire form which is a series of
 > descriptions, each with its own associated check box. For example:
 >
 > changeable, fast moving [check box]
 > intense, driven [check box]
 > relaxed, laid back [check box]
 >
 > Each question would be on a new row.
 >
 > Any or all of the boxes can be checked by a client.
 >
 > When they have completed the form, I want to be able to print it out
 > so that only the rows where they have checked the box are printed. If
 > they didn't check the box, the row wouldn't print.
 >
 > I also need a "comments" field at the end of the questionnaire where I
 > can type in my comments. This field would also print out.
 >
 > I have never built a form before and have never used macros. I do
 > understand how to use simple formulae in cells. I'm using an old copy
 > of Excel 98 on a Mac (OS9).
 >
 > A step by step explanation would be VERY much appreciated. TIA.
A technique I have used for this is as follows. Set up your "form" this way.
Then try to record a macro to do the steps.

If you are using the check box control, link it to a cell, so the cell's
value becomes true or false depending on the check box. Of course, make sure
that the value is on the same row as the question. In another column
(either hidden, or off to the right of the print area, place a formula that
will generate an error if the value of the cell is false. For example, if
the true or false goes into cell H1, then place the formula: =1/h1 into I1.
And fill this down for the number of rows needed. In this way the cells in
column I will have values or either 1 if the box is checked, or #DIV/0 if it
is not.

To print the form, select column I, then in the edit menu, select Go To,
choose special, then check Formulas and errors. Now, only the error cells
are selected. Then, in the format menu, select row and hide. Now only the
checked rows will be visible, so print the form. To restore the rows, simply
click on the "I" column header and select Format Row, unhide.

--
Bob Greenblatt [MVP], Macintosh
bobgreenblattATmsnDOTcom<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: how do I print rows only where tick box is ticked? 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Excel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]