This works:
but I was hoping to select 3 columns at once like this (which doesnt work):
I also tried 1:3
So just looking for how to select 3 of 6 columns of a listobject. ?
It seems odd to have to deal with all 3 separately, thoguh I could do that. I have filtered the list, and want to format borders on the first 3 rows which may have 1 to many relationship with the next three- so borders would help show that...I find if I make the right selection any formatting changes would just grab the rows displayed...which is what I want.
I was not able to find solution googling and searching here for syntax...possibly missed it.
I am using win 2007
Code:
ActiveSheet.ListObjects("REQSDATATABLE").ListColumns(1).DataBodyRange.Select
but I was hoping to select 3 columns at once like this (which doesnt work):
Code:
ActiveSheet.ListObjects("REQSDATATABLE").ListColumns(1, 2, 3).DataBodyRange.Select
I also tried 1:3
So just looking for how to select 3 of 6 columns of a listobject. ?
It seems odd to have to deal with all 3 separately, thoguh I could do that. I have filtered the list, and want to format borders on the first 3 rows which may have 1 to many relationship with the next three- so borders would help show that...I find if I make the right selection any formatting changes would just grab the rows displayed...which is what I want.
I was not able to find solution googling and searching here for syntax...possibly missed it.
I am using win 2007