LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Survey / Radio buttons

I am very appreciative of your help. I am going to go over these instructions
and try it out. I'll let you know how it turned out. Once again, thanks

"OssieMac" wrote:

Its a bit labour intensive if you do it manually but here is a suggestion of
how you might go about it.

Create links from all the radio buttons to another sheet in the workbook so
that all the links are in Column A. The first group of 10 buttons to have
links in cells A1 to A10, the second group in cells A11 to A20, the third in
A21 to A30 etc. If you have 40 questions and 10 buttons each then you will
have some 400 to do.

How you go about setting the links depends on whether you used radio buttons
from the Control Box Toolbar or the Radio buttons from the Forms toolbar. If
you used the Control Toolbar then you have to click on the Design Mode icon
and then right click the radio button, select properties and then manually
enter the link address against LinkedCell. Example of the syntax is Sheet2!A1
.(You do not have to close this properties dialog box each time, simply click
on the next button). The linked cells will show TRUE for selected and FALSE
for not selected.

If you used the buttons from the Forms Toolbar then right click on the
button and select format control and then select the linked cell. The linked
cells for this is 1 for selected and 0 for not selected.

When you get the workbooks back, create a new folder to save them and save
them as something like Results01, Results02, Results03 etc. Use the zero
because it will keep them properly indexed.

Create a new workbook in the same folder and name it Summary or something.
Select Tools, Options, General tab and check the R1C1 reference style so that
your columns will then be numeric instead of alpha.

Open Results01 and copy the column of links and paste it into column 1 of
the Summary. Close Results01 and open Results02 and copy the column and paste
it into column 2 of summary, Results 03 to column 3 etc until you have copied
all. You will see why I suggested the R1C1 reference style because the column
numbers should match the Results workbook numbers and you shouldnt loose
your place.

When finished copying the data, select Tools, Options, General tab and
uncheck the R1C1 reference style because it will make it easier for you to
understand the formula I am going to use.

Go to the far right of the data. (say column 61 if you have 60 columns of
data). If you used the Control Toolbox buttons and the results are TRUE and
FALSE then in the cell of the first row insert the following formula:-

=COUNTIF(A1:BH1,TRUE)

You will have to adjust the BH1 to match the last cell of data in the row.

If you used the Forms Toolbar and the results are 1 and 0 then simply sum
the row.

Copy this formula to the bottom of your data. You will now have the totals
for each radio button which was selected. You should be able to handle them
from here.

I did say it is labour intensive but writing these instructions have been
also. However, I suppose if it gets you over the problem then that is what
counts.

Just as a side issue. On the initial sheet you create, if you have TRUE
/FALSE from the Control Toolbox buttons then copy a FALSE cell and paste it
over all the linked cells and you will start off with all the buttons blank.
Same if you have 1s and 0s for forms toolbar buttons, Paste 0s over all
the links.

Regards,

OssieMac



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a simple Sales survey with radio buttons ? Manoj Excel Discussion (Misc queries) 7 December 1st 08 07:08 PM
Radio buttons Pawan Excel Discussion (Misc queries) 1 November 18th 08 05:36 PM
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
I need help making 'click' buttons for a survey. Debra Dalgleish Excel Programming 0 January 3rd 07 09:52 PM
VBA: Disable Frame and Radio Buttons based on Another Radio Button Being True Mcasteel Excel Worksheet Functions 2 October 29th 04 07:06 PM


All times are GMT +1. The time now is 04:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"