I have a database of 4,000+ contacts and have check boxes next to each name in order to select for processing / copying, etc. Check boxes are in Column C and linked to Column AU after each contact's data. I want to use Check Boxes for as fast as possible selection of a contact.
I manually copied and pasted the check boxes next to each contact and then used the following macro to change the link to each;
This works great if everything were to remain static however we frequently add, delete or move contacts. In addition, I have the ability to sort based on name, company name, category assignment, last update, etc and need for the checkbox link to move with it. The link currently starts with =$AU$3 and I need for it to be =$AU3 or =AU3. Am I able to change the above macro so that links are relative instead of absolute?
Thank you!
I manually copied and pasted the check boxes next to each contact and then used the following macro to change the link to each;
Code:
Sub CheckBoxLinkCorrection() Dim cb As CheckBox
For Each cb In ActiveSheet.CheckBoxes
If Not Intersect(Selection, cb.TopLeftCell) Is Nothing Then
cb.LinkedCell = Cells(cb.TopLeftCell.Row, Range(cb.LinkedCell).Column).Address
End If
Next
End Sub
This works great if everything were to remain static however we frequently add, delete or move contacts. In addition, I have the ability to sort based on name, company name, category assignment, last update, etc and need for the checkbox link to move with it. The link currently starts with =$AU$3 and I need for it to be =$AU3 or =AU3. Am I able to change the above macro so that links are relative instead of absolute?
Thank you!