Shortcut To Link All Check Boxes To Cells With A Macro In Excel || Excel Tricks

  Рет қаралды 59,855

dptutorials

dptutorials

Күн бұрын

Пікірлер: 95
@Ejmillanv
@Ejmillanv 9 ай бұрын
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
@yogeshkhandagale7664 Жыл бұрын
No drama, and no too ,much of talking. Simple and very clear explanation. Thanks a lot. Please keep it up.
@dptutorials
@dptutorials Жыл бұрын
So nice of you
@OmarElsayadx
@OmarElsayadx 2 жыл бұрын
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
@dptutorials Жыл бұрын
Most welcome
@genes7154
@genes7154 11 ай бұрын
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! 😄
@Darthpeegs1039
@Darthpeegs1039 5 ай бұрын
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
@Mynameisrex72 Жыл бұрын
You are a GENIUS !!!!!!!!!!!!!!!!!!!! Thanks for your help - I saved hours and hours of boring work
@dptutorials
@dptutorials Жыл бұрын
Glad I could help. It's motivating for me too
@jasonp220
@jasonp220 5 ай бұрын
Thank you! Works perfectly even over a large grid of check boxes.
@Hugeworship
@Hugeworship 17 күн бұрын
Thank you brother by this I do good performance in excel sheet
@ahmedabdulkadir6298
@ahmedabdulkadir6298 11 ай бұрын
Thank you, this was helpful
@neoappiah6196
@neoappiah6196 5 күн бұрын
Thank you very much Boss
@harmenvanheist7348
@harmenvanheist7348 7 ай бұрын
Finally one that works, you're a hero.
@DanielGabani
@DanielGabani 8 ай бұрын
Great video! Thank you very much! Gonna speed up my task by 10x at minimum :D
@radomircvijetic3334
@radomircvijetic3334 Жыл бұрын
Thanks a lot, works perfectly!!!!
@dptutorials
@dptutorials Жыл бұрын
You're welcome!
@FuzzyWuzzaBer
@FuzzyWuzzaBer 9 ай бұрын
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-dz9eb7fu2f
@user-dz9eb7fu2f 2 жыл бұрын
this was a lifesaver omfg thank you so much
@dptutorials
@dptutorials 2 жыл бұрын
Most welcome, please subscribe for more videos.
@IndraEighty-Six
@IndraEighty-Six 7 ай бұрын
Thank you so much!!! You’re a lifesaver 🙏🏾
@foxynight1688
@foxynight1688 2 ай бұрын
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
@dptutorials Ай бұрын
That's a great question! I'll make a video about that.
@syaaackzint
@syaaackzint 10 ай бұрын
The function of TopLeftCell, can we change to the cell that the checkbox placed?
@aponijuanzosimo9923
@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
@brutalbliss Жыл бұрын
Thank you for this!
@dptutorials
@dptutorials Жыл бұрын
Most welcome
@rajeevgosavi4514
@rajeevgosavi4514 11 ай бұрын
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
@maxkaiser5438
@maxkaiser5438 2 жыл бұрын
Thank you so much! Helped me perfectly :)
@dptutorials
@dptutorials 2 жыл бұрын
Welcome. Please subscribe and raise questions if you have any.
@JoelMendoza-sq1kk
@JoelMendoza-sq1kk 10 ай бұрын
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?
@ghostcon
@ghostcon 4 ай бұрын
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?
@ramram5815
@ramram5815 2 жыл бұрын
thanks you so much for sharing this trick
@dptutorials
@dptutorials 2 жыл бұрын
You are so welcome!
@rafaeldeconde8148
@rafaeldeconde8148 Жыл бұрын
Thank you very much!! Ths video is extremely helpful!!!
@dptutorials
@dptutorials Жыл бұрын
Glad it was helpful!
@shamsshams9762
@shamsshams9762 2 жыл бұрын
Thank you so much 😀
@dptutorials
@dptutorials Жыл бұрын
You're welcome 😊
@irjacq27
@irjacq27 11 ай бұрын
What is the macro if I want to link the checkbox in column F6 onwards?
@abdulhamidhilwany
@abdulhamidhilwany Жыл бұрын
thank you so much you save my time
@rowelmagbanua9634
@rowelmagbanua9634 2 жыл бұрын
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
@fajarmahendra7732 Жыл бұрын
GG excel Mr 😊
@MountainDewBots
@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
@saravanajis4080 Жыл бұрын
Ou87
@JacopoSavelli
@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?
@technicalknowledge9128
@technicalknowledge9128 7 ай бұрын
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
@victoralvarado3291 Жыл бұрын
So how would I link it to a cell that is to the left of the checkbox?
@eigj999
@eigj999 8 ай бұрын
Great! Thank u very much!
@MamoonaMohsin
@MamoonaMohsin Жыл бұрын
life saver , thanks allot
@dptutorials
@dptutorials Жыл бұрын
You're welcome!
@CuteMyđángyêu
@CuteMyđángyêu 11 ай бұрын
wonderful, thanks so much!
@martinofficial2707
@martinofficial2707 10 ай бұрын
How to change the checkbox linked value as YES/NO.
@mrmarnissi
@mrmarnissi 2 жыл бұрын
Very Helpful big thanks you are genius
@85MA
@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?
@simpleshortpractice
@simpleshortpractice 2 жыл бұрын
helpfull, thank you love love
@dptutorials
@dptutorials Жыл бұрын
Most welcome
@markernc
@markernc 2 жыл бұрын
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!
@actuallyjess1107
@actuallyjess1107 2 жыл бұрын
I'm having this same issue!
@caseym8177
@caseym8177 2 жыл бұрын
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
@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
@palermo017 Жыл бұрын
@@Marcvids41 thabks a lot bro!!!!!!
@Kostka74
@Kostka74 9 ай бұрын
The best!
@KrishnaAgarwal-vt2lh
@KrishnaAgarwal-vt2lh 7 ай бұрын
Similarly can you show how to unlink all check boxes
@m.umairanwar3346
@m.umairanwar3346 4 ай бұрын
Code giving error while running at lcol=3 Saying "can't execute code in break mode" Need little guidance
@JacopoSavelli
@JacopoSavelli Жыл бұрын
is there a way to check or uncheck all checkboxes at once?
@threciabarazan2998
@threciabarazan2998 2 жыл бұрын
Thank you 😊
@dptutorials
@dptutorials Жыл бұрын
Most welcome
@dilukshanuka1333
@dilukshanuka1333 2 жыл бұрын
what's the code for linked to same cell? Thanks
@George-wb2qf
@George-wb2qf 2 жыл бұрын
just use lcol=0 instead of 3
@thaisaguiar9445
@thaisaguiar9445 Жыл бұрын
Thank you :)
@maheshk7133
@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
@Ejmillanv
@Ejmillanv 9 ай бұрын
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
@charliek9394
@charliek9394 2 жыл бұрын
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
@hannablom5803 Жыл бұрын
I wonder that too!
@Planemech
@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
@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
@Kariboo925 Жыл бұрын
you are smarter than chatgpt !
@dptutorials
@dptutorials Жыл бұрын
Haha, this is too much
@layalkazouh1817
@layalkazouh1817 2 жыл бұрын
At 2:52 I was lost
@abdulhamidhilwany
@abdulhamidhilwany Жыл бұрын
i hope you are fine
@MichaelKuo-y3p
@MichaelKuo-y3p Жыл бұрын
doesn't work.
@armandoanley4740
@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
@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.
@PiliPala99
@PiliPala99 2 жыл бұрын
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!
@dptutorials
@dptutorials 2 жыл бұрын
Noted
@carajatagrawal
@carajatagrawal 2 жыл бұрын
Error 438, when i click debug, "[.LinkedCell=_ .TopLeftCell.Offset(0,lcol).Adress]" is highlighted. Please Help
@david_pgd
@david_pgd Жыл бұрын
I had the same error, see if your problem is that you had written .LinkCell = _ instead of .LinkedCell = _
@carajatagrawal
@carajatagrawal Жыл бұрын
@@david_pgd my problem was solved when I adjusted 0 according to the starting column number.
@RoRo7051.
@RoRo7051. Жыл бұрын
@@carajatagrawal I still couldn't get it to work. Sam error 438. Ugh
@carajatagrawal
@carajatagrawal Жыл бұрын
@@RoRo7051. try chatgpt. It gave me the exact code.
@BlakeBiellier
@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.
Excel's NEW Checkboxes Are Incredibly Cool! Here's why
14:24
Leila Gharani
Рет қаралды 554 М.
Excel Checkboxes - True, False Checkbox, List of VBA Checkboxes Tutorial
25:59
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 58 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
3 Impressive Dynamic Reports using Check Boxes
13:10
MyOnlineTrainingHub
Рет қаралды 61 М.
Make a Project Tracker with Excel’s NEW Checkbox Feature
10:12
Kenji Explains
Рет қаралды 92 М.
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 999 М.
Highlight Cells or Rows with a Checkbox in Excel | 2 Methods
7:59
Check/Uncheck All Checkboxes with a Single Checkbox - Excel Macro
8:47
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Teacher's Tech
Рет қаралды 598 М.
Assign Checkboxes to Cells with a Macro in Excel #excel #youtube
8:48
How to Insert Checkbox in Excel
11:26
Kevin Stratvert
Рет қаралды 859 М.