This one really has two different problems. In my Personal.xls I'm using a Concatenate to Clipboard macro I copied from the internet some time ago, and want to change two key aspects of it. The full code I'm using is posted at the bottom of this post, but here's the two problems:
1) The current macro uses this code to choose the selection to copy:
I have the macro setup as a button, and I WANT to first select my range to copy by highlighting the cells, then click the button to copy. However, what happens is I click the button, get a popup telling me to select the range, move the box out of my way, select my range, and click OK to make it copy. WAY too labor intensive! So I just need to "Set rngToConcat" equal to something that means "Area Highlighted". I can't think of what code I need to put in.
2) The second problem is a bit trickier, and I'm not sure it can be done. I frequently encounter cells which display as something like "0014", but whose value is actually "14". So, if I have 5 of these cells in a column, looking something like this:
When I run my macro and paste elsewhere it looks like this"
I'd like to copy, concatenate and paste keeping the formatting. Is this possible?
I'd appreciate any help you can provide on this. Here's the full code for the macro:
Bookmarks