In VBA I need to create a Macro that will:
- Accept via an Input box a range of values. This range can be typed (A6:A10) or drag selected via the mouse.
- If any of the values are empty, inform the user via a msgbox and do not execute further.
-Enter the range selected in cell C2.
-The values of the selected range should be strung together into one long text string. Each value should have a single apostrophe in front, a single apostrophe at the end, and a comma and space at the end. The very last value will not have a comma and space at the end.
Example for a selection of A6:A9: 'A0001', 'A0002', 'A0003', 'A0004'
-Enter completed selection in cell C3.
Thank you!!
Solved by T. J. in 11 mins