Howdy,
In column A there are several items. They can also be empty cells. Range is dynamic. There can be only 5 rows or 10 or 20 or ... In the cell there can be either numbers or letter / letters.
I would like for the first push of a button to copy the first cell from column A (say A2) to cell C1 and then run macro1.
at the next press, copy the next cell (A3) and put it in C1 (now in C1 it will be A2 & A3 - not the formula but the contents of cell A2 and A3 will be concatenated, then run macro2. And so on.
If in column A he finds an empty cell, ignore it, and in cell C1 there will be no empty space.
Let's say that in A2 = ah, A3 = 5, A4 = blank, A5 = zzz, C1 will be empty. At the first push of the button in C1 will be written "ah" (without the quotation marks), and will call macro 1, at the next push of the button the cell C1 will be ah5 then run macro 2, then again ah5, because A4 is empty, then ah5zzz and so ...
Thank you in advance.
In column A there are several items. They can also be empty cells. Range is dynamic. There can be only 5 rows or 10 or 20 or ... In the cell there can be either numbers or letter / letters.
I would like for the first push of a button to copy the first cell from column A (say A2) to cell C1 and then run macro1.
at the next press, copy the next cell (A3) and put it in C1 (now in C1 it will be A2 & A3 - not the formula but the contents of cell A2 and A3 will be concatenated, then run macro2. And so on.
If in column A he finds an empty cell, ignore it, and in cell C1 there will be no empty space.
Let's say that in A2 = ah, A3 = 5, A4 = blank, A5 = zzz, C1 will be empty. At the first push of the button in C1 will be written "ah" (without the quotation marks), and will call macro 1, at the next push of the button the cell C1 will be ah5 then run macro 2, then again ah5, because A4 is empty, then ah5zzz and so ...
Thank you in advance.