I have a pivot table that displays some data, and I need to create a macro that creates some cells next to the pivot table. I would like to be able to loop through a column in the pivot table, and copy the entire border style of each cell to another column. I was hoping it would be as simple as this:
ActiveCell.Offset(0, 5).Borders = ActiveCell.Borders
But I guess that would have been wishful thinking.
Is there an easy way to just copy the entire cell's style (border, background color, font style (bold, italic, etc)) to a new cell?
ActiveCell.Offset(0, 5).Borders = ActiveCell.Borders
But I guess that would have been wishful thinking.
Is there an easy way to just copy the entire cell's style (border, background color, font style (bold, italic, etc)) to a new cell?