display value in textbox when checked on checkbox

dummies

New Member
Joined
Jul 10, 2020
Messages
28
Office Version
  1. 2016
Platform
  1. Windows
<div class="extimates">
<table id="data-table" class="table table-striped table-bordered nowrap" width="100%">
<thead>
<tr>
<th>prodeuct.no</th>
<th>product name</th>
<th><input name="select_all" value="0" type="textbox"></th>
</tr>
</thead>
<tbody>


<tr class="odd gradeX">
<td>11-12-123</td>
<td>s11-12-123</td>
<td><input type="checkbox" name="name23" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-124</td>
<td>s11-12-124</td>
<td><input type="checkbox" name="name24" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-125</td>
<td>s11-12-125</td>
<td><input type="checkbox" name="name25" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-126</td>
<td>s11-12-126</td>
<td><input type="checkbox" name="name26" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-127</td>
<td>s11-12-127</td>
<td><input type="checkbox" name="name27" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-128</td>
<td>s11-12-128</td>
<td><input type="checkbox" name="name28" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-129</td>
<td>s11-12-129</td>
<td><input type="checkbox" name="name29" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-130</td>
<td>s11-12-130</td>
<td><input type="checkbox" name="name30" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-131</td>
<td>s11-12-131</td>
<td><input type="checkbox" name="name31" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-132</td>
<td>s11-12-132</td>
<td><input type="checkbox" name="name32" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-133</td>
<td>s11-12-133</td>
<td><input type="checkbox" name="name33" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-134</td>
<td>s11-12-134</td>
<td><input type="checkbox" name="name34" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-135</td>
<td>s11-12-135</td>
<td><input type="checkbox" name="name35" /></td>
</tr>
<tr class="odd gradeX">
<td>11-12-136</td>
<td>s11-12-136</td>
<td><input type="checkbox" name="name36" /></td>
</tr>

</tbody>
</table>
</div>
i have three column, producto, productname and last column contains checkbox. using vba, if i check checkbox(C5) then display the value of Cell(A5) in textbox next to checkbox
thank you
 

Some videos you may like

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Watch MrExcel Video

Forum statistics

Threads
1,127,345
Messages
5,624,131
Members
416,012
Latest member
rockermom59

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
Top