Hello everyone
I've found lots of vba examples of how to fill down a range of data but nothing to fill right on the first column instance of a value:
I have a range of data C2:H19
Each row has one value which could start anywhere in the row. I need to be able to either select the range or find the first instance of the value in the row and fill to the right with that value to the last column (H) i.e. row C2:H2, first value in this row might be D2, fill right to H2 with the value from D2, next row the value might be in E3, fill right to H3 with the value from E3 and so on.
Any help on this will be muchly appreciated
thanks
I've found lots of vba examples of how to fill down a range of data but nothing to fill right on the first column instance of a value:
I have a range of data C2:H19
Each row has one value which could start anywhere in the row. I need to be able to either select the range or find the first instance of the value in the row and fill to the right with that value to the last column (H) i.e. row C2:H2, first value in this row might be D2, fill right to H2 with the value from D2, next row the value might be in E3, fill right to H3 with the value from E3 and so on.
Any help on this will be muchly appreciated
thanks