I had this massive checklist and I was afraid I had to assign every single box manually, this video literally saved me A HELL OF A LOT OF TIME and my sanity
@yogeshkhandagale7664 Жыл бұрын
No drama, and no too ,much of talking. Simple and very clear explanation. Thanks a lot. Please keep it up.
@dptutorials Жыл бұрын
So nice of you
@OmarElsayadx2 жыл бұрын
This video saved me HOURS and HOURS of extreme work I would have done on a very long excel sheet. you're a life saver
@dptutorials Жыл бұрын
Most welcome
@genes715411 ай бұрын
This probably saved me at least a good hour of work and boredom. Linked 160 checkboxes all at once. Still have at least 160 more to go. Created the module, copied and pasted the macro into the module, and ran it. Worked perfectly without a hitch! Thank you! 😄
@Darthpeegs10395 ай бұрын
Amazing. Seriously, this video genuinely saved me hours upon hours of manual labor on a very long worksheet. Appreciate the time you took to make this, thank you so much!!!
@Mynameisrex72 Жыл бұрын
You are a GENIUS !!!!!!!!!!!!!!!!!!!! Thanks for your help - I saved hours and hours of boring work
@dptutorials Жыл бұрын
Glad I could help. It's motivating for me too
@jasonp2205 ай бұрын
Thank you! Works perfectly even over a large grid of check boxes.
@Hugeworship17 күн бұрын
Thank you brother by this I do good performance in excel sheet
@ahmedabdulkadir629811 ай бұрын
Thank you, this was helpful
@neoappiah61965 күн бұрын
Thank you very much Boss
@harmenvanheist73487 ай бұрын
Finally one that works, you're a hero.
@DanielGabani8 ай бұрын
Great video! Thank you very much! Gonna speed up my task by 10x at minimum :D
@radomircvijetic3334 Жыл бұрын
Thanks a lot, works perfectly!!!!
@dptutorials Жыл бұрын
You're welcome!
@FuzzyWuzzaBer9 ай бұрын
Very informative video! Thank you! Just a question. What if I wanted to COUNT the checked boxes and have the sum value represented in a given cell as I check them?
@user-dz9eb7fu2f2 жыл бұрын
this was a lifesaver omfg thank you so much
@dptutorials2 жыл бұрын
Most welcome, please subscribe for more videos.
@IndraEighty-Six7 ай бұрын
Thank you so much!!! You’re a lifesaver 🙏🏾
@foxynight16882 ай бұрын
If I have 1000+ row records of checkboxes, will changing one checkbox's status to true or false cause all the other checkboxes to change as well? If so it would cause the file to run the loop every time one checkbox is checked or unchecked
@dptutorialsАй бұрын
That's a great question! I'll make a video about that.
@syaaackzint10 ай бұрын
The function of TopLeftCell, can we change to the cell that the checkbox placed?
@aponijuanzosimo9923 Жыл бұрын
Hi @dptutorials, is this possible to add scrollbar? coz I want to add scrollbar so that the data will not looks like huge upon viewing.
@brutalbliss Жыл бұрын
Thank you for this!
@dptutorials Жыл бұрын
Most welcome
@rajeevgosavi451411 ай бұрын
Thanks for your simple to understand VBA code. However when I applied this macro to my office sheet , even the heading " Done" is also changing from true to false , as I have applied this macro in zero column i.e . same as checkboxes
@maxkaiser54382 жыл бұрын
Thank you so much! Helped me perfectly :)
@dptutorials2 жыл бұрын
Welcome. Please subscribe and raise questions if you have any.
@JoelMendoza-sq1kk10 ай бұрын
I would like to ask, does this function if I want multiple columns of check boxes and each one references the cell its on top of?
@ghostcon4 ай бұрын
Nothing is popping up under my macro. All of my cells show true after adjusting the lcol = to "0". Any idea why it wouldnt be showing up in the Macros drop down?
@ramram58152 жыл бұрын
thanks you so much for sharing this trick
@dptutorials2 жыл бұрын
You are so welcome!
@rafaeldeconde8148 Жыл бұрын
Thank you very much!! Ths video is extremely helpful!!!
@dptutorials Жыл бұрын
Glad it was helpful!
@shamsshams97622 жыл бұрын
Thank you so much 😀
@dptutorials Жыл бұрын
You're welcome 😊
@irjacq2711 ай бұрын
What is the macro if I want to link the checkbox in column F6 onwards?
@abdulhamidhilwany Жыл бұрын
thank you so much you save my time
@rowelmagbanua96342 жыл бұрын
It really helps a lot. What if I have multiple checkbox in each column? How can I add it in VBA code command? is it lcol = 3,4,5 and so on? Thanks for response.
@fajarmahendra7732 Жыл бұрын
GG excel Mr 😊
@MountainDewBots Жыл бұрын
This tutorial was an absolute savior, I searched for hours for someone to explain an easier method to effecting a large quantity of check boxes without having to manually change each linked cell (working with 200 check boxes) The only issue I ran into was the original check box liked to change the linked cell 1 up and 1 over. Not only that but now for whatever reason if a single check box is selected it updates ALL the check boxes, so if I am using these boxes for the sake of taking time stamps it can completely and quickly destroy the intended data its meant to capture. Could it be that I am attempting to stretch this over too many check boxes and that is what is causing this error?
@saravanajis4080 Жыл бұрын
Ou87
@JacopoSavelli Жыл бұрын
can I also drag the checkboxes cells to the right or left, run the macro, and expect to have the linkedcell with true and falls on columns J or L?
@technicalknowledge91287 ай бұрын
Suppose I have 3 check box I want to one check box click and automatically 2 check box select how to connect vba code
@victoralvarado3291 Жыл бұрын
So how would I link it to a cell that is to the left of the checkbox?
@eigj9998 ай бұрын
Great! Thank u very much!
@MamoonaMohsin Жыл бұрын
life saver , thanks allot
@dptutorials Жыл бұрын
You're welcome!
@CuteMyđángyêu11 ай бұрын
wonderful, thanks so much!
@martinofficial270710 ай бұрын
How to change the checkbox linked value as YES/NO.
@mrmarnissi2 жыл бұрын
Very Helpful big thanks you are genius
@85MA Жыл бұрын
I have a worksheet with the following data,,, vendors name in Column A2 , Paymnt Amount in Column B2. Check-boxes in Column C2, Paid/Unpaid text in Column D2. I would like to establish a link between check-boxes and the 'amount' column. Specifically, I want the checkbox in column C2 to be automatically checked when I enter an amount in cell B2. Additionally, when the checkbox is automatically marked as checked, I would like the text 'Paid' to appear in column D2. Is it possible to achieve this using a formula or VBA/Macro?
@simpleshortpractice2 жыл бұрын
helpfull, thank you love love
@dptutorials Жыл бұрын
Most welcome
@markernc2 жыл бұрын
When I tried this it was selecting the cell right above the one I was trying to link...where did I go wrong? Thank you!
@actuallyjess11072 жыл бұрын
I'm having this same issue!
@caseym81772 жыл бұрын
I had this same issue. The table I was working with had column headers so I deleted them and had my data starting from row 1. Running the macro from there linked the checkboxes correctly. There's probably a better way to fix this but this worked for me
@Marcvids41 Жыл бұрын
You need to change the "0" to 1(or were your row starts) before ICol. Sub LinkCheckBoxes() Dim chk As CheckBox Dim lCol As Long lCol = 3 'number of columns to the right of checkbox For Each chk In ActiveSheet.CheckBoxes With chk .LinkedCell = _ .TopLeftCell.Offset(1, lCol).Address End With Next chk End Sub
@palermo017 Жыл бұрын
@@Marcvids41 thabks a lot bro!!!!!!
@Kostka749 ай бұрын
The best!
@KrishnaAgarwal-vt2lh7 ай бұрын
Similarly can you show how to unlink all check boxes
@m.umairanwar33464 ай бұрын
Code giving error while running at lcol=3 Saying "can't execute code in break mode" Need little guidance
@JacopoSavelli Жыл бұрын
is there a way to check or uncheck all checkboxes at once?
@threciabarazan29982 жыл бұрын
Thank you 😊
@dptutorials Жыл бұрын
Most welcome
@dilukshanuka13332 жыл бұрын
what's the code for linked to same cell? Thanks
@George-wb2qf2 жыл бұрын
just use lcol=0 instead of 3
@thaisaguiar9445 Жыл бұрын
Thank you :)
@maheshk7133 Жыл бұрын
sir when I click on check box , false and true will appear on the upper cell , it has to be linked with same row
@Ejmillanv9 ай бұрын
I had the same problem but turns out it's very easy to figure out, you know the line with "(0, lcol)" well 0 is basically the A1 cell and my checkboxes started in the A2 SO what I did what replace the 0 with a 1 and now everything is lined up, I know this is 7 months late but probably someone else had the same question
@charliek93942 жыл бұрын
IF you want to do this for activeX checkmarks in a single column and have them linked to cells in another sheet, is that possible?
@hannablom5803 Жыл бұрын
I wonder that too!
@Planemech Жыл бұрын
I ran the Macro and it didn't line up with the checkbox, it was up one cell. I tried several times and got the same result
@BlakeBiellier Жыл бұрын
@broland80917 You need to make sure your first checkbox border (The one that is to resize with the name) does not overlap into other cells. Also, You need to make sure no duplicate boxes are hidden behind the first check box you create before copying them to other cells. Plus, make sure none are currently linked before running the macro.
@Kariboo925 Жыл бұрын
you are smarter than chatgpt !
@dptutorials Жыл бұрын
Haha, this is too much
@layalkazouh18172 жыл бұрын
At 2:52 I was lost
@abdulhamidhilwany Жыл бұрын
i hope you are fine
@MichaelKuo-y3p Жыл бұрын
doesn't work.
@armandoanley4740 Жыл бұрын
No help at all. I'm not a VB user, I work this deep with excel quite occasionally, there should be an easier way to do it without using VB. Sad Microsoft doesn't come up with it.
@BlakeBiellier Жыл бұрын
Unfortunately, there is no other other way. Other then a few other different macro codes that essentially do the same thing. Just written slightly different.
@PiliPala992 жыл бұрын
Half of it is great, but you don't explain the references enough to make it useful on another spreadsheet. At least not simple enough tjhat I can understand. The TopLeft.Offset etc... if you explained why you did that I could figure out how to make it work on my sheet. Excel is so dam infuriating!
@dptutorials2 жыл бұрын
Noted
@carajatagrawal2 жыл бұрын
Error 438, when i click debug, "[.LinkedCell=_ .TopLeftCell.Offset(0,lcol).Adress]" is highlighted. Please Help
@david_pgd Жыл бұрын
I had the same error, see if your problem is that you had written .LinkCell = _ instead of .LinkedCell = _
@carajatagrawal Жыл бұрын
@@david_pgd my problem was solved when I adjusted 0 according to the starting column number.
@RoRo7051. Жыл бұрын
@@carajatagrawal I still couldn't get it to work. Sam error 438. Ugh
@carajatagrawal Жыл бұрын
@@RoRo7051. try chatgpt. It gave me the exact code.
@BlakeBiellier Жыл бұрын
@@RoRo7051. You need to make sure your first checkbox border (The one that is to resize with the name) does not overlap into other cells. Also, You need to make sure no duplicate boxes are hidden behind the first check box you create before copying them to other cells. Plus, make sure none are currently linked before running the macro.