因此,在文档中,我希望将一列字母转换为单个单元格。例如,如果该列包含字母h,e,l,l,o那么该程序将放入一个单元格“hello”。我尝试用下面的代码来做到这一点,但它留下的输出单元空白添加到现有字符串值
Dim t1 As String
Dim t2 As String
Do While Cells(i, "B").Value <> ""
t2 = Cells(i, "D").Value
t1 = Cells(i, "B").Value
Cells(i, "D").Value = t1 & t2
i = i + 1
Loop
在小区放
办公室365 exel:'= CONCAT(B1:B5)' –