小编Smi*_*ley的帖子

EPplus插入X行空行

我有一个实例,如果单元格值在15到25之间,那么我需要插入10个空白行,如果单元格值> 30,我需要插入25个空白行

不是简单地重复键入相同的语法并一次添加1行,EPPLUS是否具有一次添加X行的功能?

这有效但很多代码会重复:

ws.InsertRow(31, 31, 1);
Run Code Online (Sandbox Code Playgroud)

c# epplus epplus-4

8
推荐指数
1
解决办法
7202
查看次数

TextJoin UDF For Excel 2013

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)

excel vba excel-formula excel-2013

4
推荐指数
1
解决办法
3794
查看次数

标签 统计

c# ×1

epplus ×1

epplus-4 ×1

excel ×1

excel-2013 ×1

excel-formula ×1

vba ×1