I'm building VBA code which installs Data Validation drop-down menues on certain cells across multiple worksheets. Each menu may be different; I build a comma-separated string of choices and install in in the cell with code which looks similar to
And this works just fine. HOWEVER, for one cell, the choices (as given to me by the user) are:Please Login or Register to view this content.
But if I spec
- 3 In, 1 Out
- 2 In, 2 Out
- 1 In, 3 Out
of course I get six choices, none of them containing commas. I've tried obvious things likePlease Login or Register to view this content.
without any luck.Please Login or Register to view this content.
I may yet resort to hacks like changing the commas to semicolons, or writing the choices into cells and spec'ing the choices by a range-pointer. But I thought I'd check here first: is there some way to escape the commas so that the Data Validation teams don't split on them?
Bookmarks