我有一个实例,如果单元格值在15到25之间,那么我需要插入10个空白行,如果单元格值> 30,我需要插入25个空白行
不是简单地重复键入相同的语法并一次添加1行,EPPLUS是否具有一次添加X行的功能?
这有效但很多代码会重复:
ws.InsertRow(31, 31, 1);
Run Code Online (Sandbox Code Playgroud) I am trying to utilize a UDF version of TextJoin since I am using Excel 2013 - but this function is not properly returning the accurate data.
My data-set in Excel looks like this
saleID Item
5 PRE2323
6 Pre2323223
6 OX12321
6 RI132
9 TN23
9 LSR12
Run Code Online (Sandbox Code Playgroud)
And my desired output is
saleID Items
5 Pre2323
6 Pre2323223, OX12321, RI132
9 TN23, LSR12
Run Code Online (Sandbox Code Playgroud)
And this is the UDF I Have that is not functioning as it should
Option Explicit …Run Code Online (Sandbox Code Playgroud)