|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
试试:
- let
- a = List.Accumulate(
- Table.ToRows(Excel.CurrentWorkbook(){[Name="id对应表"]}[Content]),
- Table.DuplicateColumn(Excel.CurrentWorkbook(){[Name="路径"]}[Content], "路径", "路径复制"),
- (x,y)=>Table.ReplaceValue(x,y{0},y{1},Replacer.ReplaceText,{"路径复制"})),
- 按分隔符拆分列 = Table.SplitColumn(a, "路径复制", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"路径复制.1", "路径复制.2", "路径复制.3", "路径复制.4", "路径复制.5", "路径复制.6", "路径复制.7", "路径复制.8"})
- in
- 按分隔符拆分列
复制代码
|
|