It seems like this is the sort of question that would have been asked before, so I apologise if this has been answered previously. However, I can't find any suitable answers on this site or through Google.
I have a userform with a multi-line textbox. This textbox is automatically populated with text generated by various concatenated arrays and strings.
What I would like to do is have a button on the form that copies the text from the textbox onto the clipboard so that the user can just paste it into a third party program.
I would have thought the code would be quite simple. Something like "usrForm.txtBox.Value.Copy" perhaps? Any thoughts?
I have a userform with a multi-line textbox. This textbox is automatically populated with text generated by various concatenated arrays and strings.
What I would like to do is have a button on the form that copies the text from the textbox onto the clipboard so that the user can just paste it into a third party program.
I would have thought the code would be quite simple. Something like "usrForm.txtBox.Value.Copy" perhaps? Any thoughts?