cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Erik_The_First
Level II

Paste multiple lines from excel into text edit box

Hello,

I currently have a text edit box, where the user would have to put in some ID's one by one and press a button "add" every time. I want them to be able to just copy multiple cells from excel and paste them into the text edit box, so it's faster for them. The problem is, that if I paste some ID's, then only the first ID (the others are in the next lines) will be pasted. Is there a way to paste something multiline into a text edit box or even another box? 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Paste multiple lines from excel into text edit box

You can make TextEditBox taller by using N Lines.

Names Default To Here(1);
win = New Window("Example",
	fontobj = text = Text Edit Box("Example Text")
);
text << Set N Lines(3);

And you can parse the user input as needed.

-Jarmo

View solution in original post

4 REPLIES 4
jthi
Super User

Re: Paste multiple lines from excel into text edit box

You can make TextEditBox taller by using N Lines.

Names Default To Here(1);
win = New Window("Example",
	fontobj = text = Text Edit Box("Example Text")
);
text << Set N Lines(3);

And you can parse the user input as needed.

-Jarmo
Erik_The_First
Level II

Re: Paste multiple lines from excel into text edit box

Okay thank you, due to me not knowing how many lines the will paste, I thought its not a great solution, but by setting N lines to 2, the text edit box will accept any number of lines. Just with n lines(1) it will accept only one

jthi
Super User

Re: Paste multiple lines from excel into text edit box

Usually, I have fixed size text edit box and then immediately clean and reformat the input after user has inputted (and committed) their values. So, if user inputs

a

b

c

it will be formatted to (or something similar)

a,b,c

in the text edit box

-Jarmo
Erik_The_First
Level II

Re: Paste multiple lines from excel into text edit box

When I paste some ID's from multiple excel cells, they are all in separate rows in the text edit box bot are not "separate" as in the are not split by delimiters, whitespaces or real line breaks. So when I do <<get text its just one string with the ID's in different rows but as I said no real delimiter. What could be a way to get all separate ID's ? You said you can format it inside the text edit box? Note that the ID's are completely random so no regex

Recommended Articles