Hey there,
this is a pretty simple question - I just need help because when I run the macro recorder I can't select stuff with the mouse, I need to select the first 2 rows in a table in Word so I can set them as header rows: eg.
'Set the first two rows as repeatable heading rows
' This ain't workin'....
Selection.Tables(1).Range(Start:=Selection.Tables(1).Rows(1), End:=Selection.Tables(1).Rows(2)).Select
.....
Selection.Rows.HeadingFormat = True
I just need to know how to do selections or define ranges in word VBA and I just can't get it right at the moment
Thanks,
Lea
this is a pretty simple question - I just need help because when I run the macro recorder I can't select stuff with the mouse, I need to select the first 2 rows in a table in Word so I can set them as header rows: eg.
'Set the first two rows as repeatable heading rows
' This ain't workin'....
Selection.Tables(1).Range(Start:=Selection.Tables(1).Rows(1), End:=Selection.Tables(1).Rows(2)).Select
.....
Selection.Rows.HeadingFormat = True
I just need to know how to do selections or define ranges in word VBA and I just can't get it right at the moment
Thanks,
Lea