Writing UserForm Information to a Cell Comment

Maverick99

Board Regular
Joined
Feb 9, 2008
Messages
108
For a particular project, when a user logs in, a UserForm will appear for input on what procedures are needed from the Lab.

The UserForm (frmInputProc) has 11 Check Boxes and a Text Box for Special Instructions. When the "Save Data" commandbutton is clicked, I would like Label from each checkbox that has been selected, entered into a Comment Field, to a Table (2007) cell, followed by the Special Instructions typed into the TextBox.<o:p></o:p>
<o:p> </o:p>
This needs to be placed in column N, on the last row of the Table, in Worksheet "Log". Once the Save Data Button is pushed, the cell comment would look something like below.

Procedures to be performed:
1. Checkbox 1 Label or " --- Checkbox 1 Label" (having it numbered is not critical)
2. Checkbox 3 Label
3. Checkbox 6 Label

Special Instructions:
Information from Textbox1

There is a unique ID number for each row (Col C). The same is true for the last row, which should be empty. There should not be an issue with overwriting a comment, in theory the comment is written to only once. However, if there should be a problem with the code and it didn’t increment the row, then is there a way to just append what is there? If not, that’s okay, I would need to find out why Col N on the last row had a comment in it.<o:p></o:p>

What would be the best way to accomplish this?


Thanks Community,


Maverick
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,693
Messages
6,126,248
Members
449,305
Latest member
Dalyb2

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