Copying rows into one cell VBA [duplicate]
问题 This question already has answers here : How to merge rows in a column into one cell in excel? (9 answers) Closed 3 years ago . I've a worksheet with various values in only one column like: A B C D E F ... And I need a write a simple code that will put this all together in one cell (for example D2) and that cell I want to have a value: A;B;C;D;E;F;... I think it's quite easy, but I'm too ill to think about it, would you help? :( 回答1: In a simple form, the following VBA macro can do the job