我有一个看起来像这样的表:
| A | B | C | D |
+-------+------------+------------+------------+
1 | Name | Language 1 | Language 2 | Language 3 |
+=======+============+============+============+
2 | John | English | Chinese | Spanish |
3 | Wendy | Chinese | French | English |
4 | Peter | Spanish | Chinese | English |
我想生成一个只有一个语言列的表。其他两个语言列应该变成这样的新行:
| A | B |
+-------+----------+
1 | Name | Language |
+=======+==========+
2 | John | English |
3 | John | Chinese |
4 | John | Spanish |
5 | Wendy | Chinese |
6 | Wendy | French |
7 | Wendy | English |
8 | Peter | Spanish |
9 | Peter | Chinese |
10 | Peter | English |
我知道这可能需要一个宏或其他东西。如果有人指出我正确的方向,我将不胜感激。我对 VBA 或 Excel 对象模型不是很熟悉。