Hi guys, I'm absolutely newbie to VBA. Really sorry for this stupid question. My problem is about selecting cells. My sample code is below:
This code affects only first row. I want to change all rows on the 2nd column. Is there any solution like With Selection.Cells(ALL)Selection.Tables(1).Columns(2).Select With Selection.Cells(1) .LeftPadding = CentimetersToPoints(0.30) .WordWrap = True .FitText = False End With
By the way I don't know how many rows.
Thanks for all