• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

validation range

delta

Member
i upload file
i want set to validation range in sheet "Data" will be A1:A100
how to
i change the validation range in code with sheet Data then nothing is done
how to set range sheet Data A:A100
 

Attachments

  • validation_2.xlsm
    21.6 KB · Views: 3
You can write the following expression in the Data Validation dialog box:

Code:
=Data!$A$1:$A$22
 
In sheet "Data", select range of cells >> Data Validation >>

>> Allow, select : List

>> Source, enter formula: =OFFSET(Data!A1,,,COUNT(Data!A:A))

Regards
 
Last edited:
Back
Top