Hi all,
I found the below solution, thanks to parmel, and have tried to alter it for my own needs but have failed.
I create massive pivot tables which others get to stare at all day. A common complaint is that the lack of spacing between text makes their eyes bleed. Is there a way to run the below macro for all rows in all pivot tables on a worksheet, or at least on all selected cells (as opposed to just the active cell)?
Thanks!
-e
I found the below solution, thanks to parmel, and have tried to alter it for my own needs but have failed.
I create massive pivot tables which others get to stare at all day. A common complaint is that the lack of spacing between text makes their eyes bleed. Is there a way to run the below macro for all rows in all pivot tables on a worksheet, or at least on all selected cells (as opposed to just the active cell)?
Code:
Sub CellSpacer()
With ActiveCell
.Rows.AutoFit
.VerticalAlignment = xlCenter
.WrapText = True
.RowHeight = .RowHeight + 12
End With
End Sub
Thanks!
-e