Hey..... I'm recording a macro with =TEXTJOIN(",",TRUE,A1:B1) and the result is correct in C1. Then I double-click and get the results all the way down till there is no more data. Then I stop macro. I look at the vba code and the range is set to that particular macro.
Problem is when I use the macro for another set of different length columns, the macro already has the range set.
Can I enter something different in the A1:B1 to just tell it to give the result all the way to end of column till the data ends?
I have many sets of A B columns and want to include this macro inside of 6 combined macros to automate.
Do I need a custom vba macro.... which I don't know how to do.
Also I need it to replace the results in C column with unique values and column A and B deleted. I guess all that can be done with a custom vba macro if TEXTJOIN cannot be used in a macro I record myself.
I want to thank Yongle, Michael M, and Irobbo314 for their help on the other macros
Any help much appreciated
Problem is when I use the macro for another set of different length columns, the macro already has the range set.
Can I enter something different in the A1:B1 to just tell it to give the result all the way to end of column till the data ends?
I have many sets of A B columns and want to include this macro inside of 6 combined macros to automate.
Do I need a custom vba macro.... which I don't know how to do.
Also I need it to replace the results in C column with unique values and column A and B deleted. I guess all that can be done with a custom vba macro if TEXTJOIN cannot be used in a macro I record myself.
I want to thank Yongle, Michael M, and Irobbo314 for their help on the other macros
Any help much appreciated
Last edited: