【发布时间】:2016-04-12 08:20:08
【问题描述】:
我对 VBA 比较陌生,目前正在尝试编写一个超出我能力范围的宏。
基本上,我希望在表格的行中列出所有可能的组合,例如:
Gas Diamonds Graphite Graphene
Red Blue Black
会变成
Gas Diamonds
Gas Graphite
Gas Graphene
Diamonds Graphite
Diamonds Graphene
Graphite Graphene
Red Blue
Red Black
Blue Black
表格最多有 5 列。
任何帮助将不胜感激!
提前致谢
【问题讨论】:
-
您是否尝试过编写任何代码?发布您尝试过的代码示例将使我们能够为您提供更多有用的反馈。这个论坛上有几个代码示例可以作为这个问题的一个很好的起点。