📜  如何在vba代码示例中连接超过40行

📅  最后修改于: 2022-03-11 14:51:56.464000             🧑  作者: Mango

代码示例2
Function ConcatMe(Rng As Range) As String

Dim cl As Range

   ConcatMe = ""

   For Each cl In Rng
      ConcatMe = ConcatMe & cl.Text
   Next cl

End Function