Data Validation to Include Comma Character

后端 未结 1 615
醉酒成梦
醉酒成梦 2020-12-20 19:29

I am using the following short macro to assign Data Validation as a list of characters:

Sub DVList()
    With ActiveCell.Validation
        .Delete
        .         


        
相关标签:
1条回答
  • 2020-12-20 19:54

    A far as I could test, you can't escape , in list.

    But you can reference a range. You can build a range (in, eg, a hidden sheet), fill cells with all possibilities and make Formula1 := "=HiddenSheet!A1:A10.

    0 讨论(0)
提交回复
热议问题