L
Legacy 287389
Guest
Hi good people!,
I know that we cannot by default apply thick borders around a cell with conditional formatting. I do understand also the principle of negative logic, to make all borders thick, and control the thickness of these borders then with conditional formatting. But, sadly in my case that will not work.
My spreadsheet contains data in cells which are arranged horizontally, vertically and diagonally. If one cell does not match criteria, conditional formatting will give that cell thin borders, which means the cells all around this one cell, which all do match the criteria, will have only 3 thick borders. There are too many IF conditions to write a conditional formatting formula for each cell. I sit with 148 cells.
Next to this block of cells, I have created two columns. Column J contains the criteria, (Either a 1 or a 0), and column K the reference cell. (One of the 148 cells). I have done this because I think VBA can now take over and look for cells which contain a "1", and then apply thick red borders around the reference cell.
Unless there is a different way, could anyone please help with a code that will be able to do this kind of thing?. All and any help will be accepted with great admiration and gratitude. Thank you..
I know that we cannot by default apply thick borders around a cell with conditional formatting. I do understand also the principle of negative logic, to make all borders thick, and control the thickness of these borders then with conditional formatting. But, sadly in my case that will not work.
My spreadsheet contains data in cells which are arranged horizontally, vertically and diagonally. If one cell does not match criteria, conditional formatting will give that cell thin borders, which means the cells all around this one cell, which all do match the criteria, will have only 3 thick borders. There are too many IF conditions to write a conditional formatting formula for each cell. I sit with 148 cells.
Next to this block of cells, I have created two columns. Column J contains the criteria, (Either a 1 or a 0), and column K the reference cell. (One of the 148 cells). I have done this because I think VBA can now take over and look for cells which contain a "1", and then apply thick red borders around the reference cell.
Unless there is a different way, could anyone please help with a code that will be able to do this kind of thing?. All and any help will be accepted with great admiration and gratitude. Thank you..