Doubt about Excel textbox control

Asked

Viewed 37 times

0

You guys, good night! Reason for my coming here: I have a Textbox control in an Excel Form (VBA). This form is configured to accept line breaks with ENTER and multiline. However, when sending this information to a javascript control it does not accept the line breaks that are in the textbox. It simply sends a line/line that I have in control. Has anyone been there? Know how to get around?

For example: I type this in my textbox:

And the return I have is this same content, but line by line and not as a single text with line breaks. Did you get it? I need this text to be only 1, accepting line breaks.

  • When you say go line by line, you mean you pass an array with the lines?

  • Create a routine that will read all the lines of your textbox and concatenate them in the most basic way possible, through the "+" between the strings. Without seeing your code it’s impossible to help more than that

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.