vba - Merging text from multiple cells into one cell -


I'm new to VBA and I'm trying to solve a small problem at work. How can I copy a string of A merged cells to some cells?

Say that I have five cells from them:

<<<> one two three four five

Let me take these And with these words, a cell should be created below each other

Like:

  sub-testing () String dim as the slow merged STR, later in cell range ("A1: A5") for each, as a boolean, if it merged later Then mergedStr = mergedStr & amp; Chr (10) mergedStr = mergedStr & amp; Cell.Value afterFirst = True Next cell range ("D3"). Value = mergedStr End Sub  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -