Hello. Sorry this won't work in my case. The cells that I actually copy aren't in a static location. Sometimes it's a different worksheet or workbook. I was hoping to keep it flexible so I can find the data I need, highlight it, hit ctrl+c, then paste into the form.
Edit - I was able to find a solution but I need some help tweaking it/error handling.
The first issue is the last textbox always seems to carry some extra characters. For instance, if I copy 4 cells the last text box has a paragraph symbol. If I copy 4+ cells the last textbox is a combination of the 4th cell and the 1st cell of the 2nd row, with the addition of a paragraph symbol separating them. Is there a way to fix this so the last textbox only shows the valve of the 4th copied cell?
The second issue is the code breaks if I don't have at least 4 columns copied. I'm still not sure how I should be parsing the clipboard string. I would like to exit the sub if the array doesn't have at least 4 items.
Edit 2 - Okay I figured it out but it is a very crude method and there is definitely a better way.
Bookmarks