I have a spreadsheet control I am going to use for data input. Some cells will need data validation which will pop up a message about the error, and put the red circle around it. I have the spreadsheet control on the form and set my Imports statements, I do not have a ribbon bar on the form. We do not want to allow the users to change the form, just input data. When I put in the following line:
Dim context as new NumberDataValidationRuleContext...
I get type not defined. I will need to apply different rule types to different cells, some whole numbers, some decimals, some letters all with ranges. For example 8-12 for hole numbers, .5-3.0 for decimal, A-B for letters.
I looked through the documentation and must have missed something. How do I apply Validation to cells to ensure they are within the ranges?
Dim context as new NumberDataValidationRuleContext...
I get type not defined. I will need to apply different rule types to different cells, some whole numbers, some decimals, some letters all with ranges. For example 8-12 for hole numbers, .5-3.0 for decimal, A-B for letters.
I looked through the documentation and must have missed something. How do I apply Validation to cells to ensure they are within the ranges?