NeverHappyMike
Member
Hi
I'm working through multiple, and slightly different sheets, and trying to select a range based on a condition in a column that will not be part of the final range. I would then format the numbers within my final range.
Column A = contains number "14". (Row n)
Final range = $C$5:$F(n)
However, as I'm doing this within a VBA macro (Excel 2010) I cannot just select the range, I need to find it programmatically.
I've looked into INDEX, but cannot seem to integrate how to find the hard coded number "14".
I can imagine using a variable to store the row number and then add it to my:
But I'm lost in how to say find that row number based on something in Column A.
Any help very much appreciated.
Thanks
NeverHappyMike.
I'm working through multiple, and slightly different sheets, and trying to select a range based on a condition in a column that will not be part of the final range. I would then format the numbers within my final range.
Column A = contains number "14". (Row n)
Final range = $C$5:$F(n)
However, as I'm doing this within a VBA macro (Excel 2010) I cannot just select the range, I need to find it programmatically.
I've looked into INDEX, but cannot seem to integrate how to find the hard coded number "14".
I can imagine using a variable to store the row number and then add it to my:
Code:
Range("$C$5:$F"n"").Select
Any help very much appreciated.
Thanks
NeverHappyMike.