Hi all
I don't know much about VBA so please pretend I am a little slow! I have a situation where a table is created that has some blank rows and cells. I want to format the table so that where there are blank rows, all the vertical borders are removed, and where there are blank cells, all borders are removed (except on the side where this cell borders a cell that does contain data). My thinking was that if I could write a macro that removed all borders from the table and then added borders for those cells that did contain data, then I would have the desired result. In addition, I want this macro to run automatically without user input. Does anyone have any code I could "borrow" or at least some suggestions.
Thanks
I don't know much about VBA so please pretend I am a little slow! I have a situation where a table is created that has some blank rows and cells. I want to format the table so that where there are blank rows, all the vertical borders are removed, and where there are blank cells, all borders are removed (except on the side where this cell borders a cell that does contain data). My thinking was that if I could write a macro that removed all borders from the table and then added borders for those cells that did contain data, then I would have the desired result. In addition, I want this macro to run automatically without user input. Does anyone have any code I could "borrow" or at least some suggestions.
Thanks