Dinamically add values in spreadsheet using radio button and check boxes

mikeyk

New Member
Joined
Apr 26, 2017
Messages
3
Hello. This is a sample from the spreadsheet which have following columns: Date, Conditions, Day Part and Comments;
Conditions have 3 values: Bad, So-So, OK
Day Part have 4 values: Morning, Afternoon, Evening, Night

I want to dynamically create radio buttons and check boxes which I should use when I enter the data so I can check appropriate radio button and appropriate checkbox for the condition and day part.
Please note that creating form will not work here since I add values for every day.
Like April 26, 27........ It will be constant.
The day part may have multiple values for example afternoon and night.


<colgroup><col width="64"><col width="74"><col width="70"><col width="644"></colgroup><tbody>
[TD="class: xl69, width: 64, align: right"]25-Apr
[/TD]
[TD="class: xl67, width: 74"]So-So[/TD]
[TD="class: xl68, width: 70"]Evening[/TD]
[TD="class: xl70, width: 644"]Short tensions at 1:44 (1 min) of level 2-3.[/TD]

</tbody>

Please let me know if there is a better approach for this task. Thanks
[TABLE="width: 852"]
<colgroup><col width="64"><col width="74"><col width="70"><col width="644"></colgroup><tbody>[TR]

[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi Mike

Could you not add a date (in a textbox?) on the userform, which will allow the user to select the date, and then use check boxes or any other method? You can then write the info to the worksheet in the on_change event, or have a "Update" button once complete?
 
Upvote 0
Hi Mike

Could you not add a date (in a textbox?) on the userform, which will allow the user to select the date, and then use check boxes or any other method? You can then write the info to the worksheet in the on_change event, or have a "Update" button once complete?

Hi Deon. Thanks for reply. Date is necessary as you probably see it on the sample. By the way in excel the date is automatically filled. The userform won't work in this case same way as update button. I explained that in the initial post. But how to write? I have to add the data every day based on conditions. I was thinking to link radio-buttons and checkbox to the hidden cells in the sheet.
 
Upvote 0
I would still use a userform? It could have a textbox that could programmatically update from the last date on the sheet, and the user could change it as required. After doing the required selections on the checkboxes or radio buttons, there could be a command button (you also mention the update button) that could write the chosen options and the date to the worksheet... simply add to the bottom of the list. I unfortunately am not familiar with controls on worksheets, so may not be able to resolve your issue... Sorry.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top