• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

TextBox and Button

chin

New Member
Hi! All,
I am new to this Forum, and still a learner in VBA coding. Need a code to transfer details each time I click UserForm Buttons to a multiline Textbox. Example, click one button , "Apple" appears on Textbox; click again "Apple" appears on second line; and so on.
And when I click second Button, "Orange" will appear continuing from the last line click of the first Button.
Problem is: when clicked second button all lines erased, only "Orange" is displayed.
Any help?


▬▬▬▬▬▬▬▬▬ Mod edit : thread moved to appropriate forum !
 
Hi! Narayan,
Here is a testing case file. I just want to click each button and the text contents should appear on the new line.

Clicking the same button twice or thrice should also cause the text to appear again on each new line:- that is, twice or thrice as the case should be.
Not erasing all previous Clicks' text ! Thanking you in advance.
 

Attachments

Thanks a lot, Narayan!

It works wonderfully, only that every time I clicked the button the insertion of the new line begins from top , not continue from bottom line.
Sorry, about this delayed reply , as this REPLY section to write doesn't seem to display properly. Could be something wrong with the streaming online over here.
 
Back
Top