I am looking for a VB way of if the active cell is equal to the text "Benefit" then xldown else add borders to the cell (i already have the code for) and then move up one cell.
This is for a copied over spreadsheet that I only want the values for so all of the formatting I am doing in VB. all is fine untill I get to a section where the amount of rows can be different everytime. My idea is to xldown to the bottom of the column and then work my way back up till U reach the cell with "Benefit". I would like it to stop then and xldown to the bottom. I am a bit rusty on VB so any help would be great.
Bookmarks