I think this has been asked before, I had searched the forum but that solution did not help me.
Attached is the sheet wherein Sheet1 is the data I have
I would like a VBA code so that a border is applied from column A to the right end till the last column. ( The end result is given in sheet2)
My data can change to any number of columns or rows, and accordingly border should be applied
I tried VBA code selecting column B where text is present, and apply borders from column A to last column, But it did not work.