How To copy A Certain cell Into A New Sheet When Check Box Is Checked In Excel?

Michelle05

New Member
Joined
Feb 28, 2018
Messages
2
Hello Everyone,

I know this one pretty easy for you guys but I hope you can help me. I have a list of inventory stocks. Everyday I need to fax a list of stocks that needs to be taken out from the warehouse and I cannot avoid having a mistake of writing the wrong number. So I was wondering if I could just tick a check box and it copies the number to another sheet, then it would be efficient for me instead of copying the numbers one at a time. Thank you very much.;)
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
something along the lines of

Sub CheckBox1_Click()
Dim lr As Long
Dim part_no As String

part_no = Range("a4").Value
Sheets("sheet2").Activate
lr = Range("a" & Rows.Count).End(xlUp).Row + 1
Range("a" & lr) = part_no
Sheets("sheet1").Activate
End Sub
 
Upvote 0
Yes, It doesn't work. I just tried it. :(


something along the lines of

Sub CheckBox1_Click()
Dim lr As Long
Dim part_no As String

part_no = Range("a4").Value
Sheets("sheet2").Activate
lr = Range("a" & Rows.Count).End(xlUp).Row + 1
Range("a" & lr) = part_no
Sheets("sheet1").Activate
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,843
Members
449,193
Latest member
MikeVol

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