ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Delimiter for Data Validation (https://www.excelbanter.com/excel-programming/291115-delimiter-data-validation.html)

Rick De Marco

Delimiter for Data Validation
 
Hi,

I have data validation set up on a cell which has my validation
criteria set to be a List. Everything is working fine for me except
when the data (coming from a database) I am creating the list from has
a comma, the list then treats it as a new entry even though its not.

Is there a different delimiter you can use in a validation list apart
from a comma? Are you able to specify it via code?

Cheers,

Rick

Vasant Nanavati

Delimiter for Data Validation
 
I may be wrong, but I believe that the delimiter used by data validation
comes from Windows' Regional Settings and cannot be customized.

--

Vasant


"Rick De Marco" wrote in message
om...
Hi,

I have data validation set up on a cell which has my validation
criteria set to be a List. Everything is working fine for me except
when the data (coming from a database) I am creating the list from has
a comma, the list then treats it as a new entry even though its not.

Is there a different delimiter you can use in a validation list apart
from a comma? Are you able to specify it via code?

Cheers,

Rick




Debra Dalgleish

Delimiter for Data Validation
 
If you import the data onto a worksheet, you can refer to that range as
the list source. When a cell in the range contains a comma, the entire
cell will be treated as one item in the list.

Rick De Marco wrote:
I have data validation set up on a cell which has my validation
criteria set to be a List. Everything is working fine for me except
when the data (coming from a database) I am creating the list from has
a comma, the list then treats it as a new entry even though its not.

Is there a different delimiter you can use in a validation list apart
from a comma? Are you able to specify it via code?


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 11:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com