Hi There,
I've been dabbling with macros in Word and trying to edit them using the editor however I've hit a little problem with one of them, here's the code:-
Sub rowHeight5mm()
Selection.Tables(1).Rows.HeightRule = wdRowHeightExactly
Selection.Tables(1).Rows.Height = CentimetersToPoints(0.5)
End Sub
When I run this macro it applies the setting to all cells within the table, is there any way i can limit it to just the cells I have selected?
Thanks in advance,
Nick
I've been dabbling with macros in Word and trying to edit them using the editor however I've hit a little problem with one of them, here's the code:-
Sub rowHeight5mm()
Selection.Tables(1).Rows.HeightRule = wdRowHeightExactly
Selection.Tables(1).Rows.Height = CentimetersToPoints(0.5)
End Sub
When I run this macro it applies the setting to all cells within the table, is there any way i can limit it to just the cells I have selected?
Thanks in advance,
Nick