Quantcast
Channel: Divide text in multiple lines in a single Excel cell using VBA - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Divide text in multiple lines in a single Excel cell using VBA

0
0

So i've been searching how to divide text depending on its length but couldn't find anything.

My question is : In Excel using vba code, is it possible to divide a line of text into several lines in a single cell?

I don't have access to the text itself, it's inserted via a query from an Access Database. This being said, I can't really use the linebreak character "Chr(10)" to help me out.

I'm thinking of a way to distinguish if the text length is greater than a certain number of letters, it could be splited in 2 (or more actually) and then concatonate it using the linebreak character.

I hope my question/request is clear enough.

Thanks in advance.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images