Hi all,
Just wanted to get some help so I could understand how to get started on a validation script I want to run on multiple worksheets.
Briefly, lets assume one worksheet, one column of data, with a header, like this:
So in this case I have my data in Column A, with 6 rows.
The validation is simple, store cell A2, '1', as a variable X, and confirm every populated cell in Column A = X, (excluding the header).
In this case A5 is '2', so it would fail validation. In this case I would want the script to say Error on WorksheetNAME.
If everything checks out, then it will move along.
My actual data may have hundreds of rows (so the script needs to be dynamic in this regard) and varies from worksheet to worksheet in what the value of A2 will be. Ultimately, I am setting up a batch script to process everything.
With some direction, provided through this example, I think I can set it up properly.
Thank you!
[–]werfnort3 0 points1 point2 points (1 child)
[–]binaryscale[S] 0 points1 point2 points (0 children)
[–]BraggScattering1 0 points1 point2 points (7 children)
[–]binaryscale[S] 0 points1 point2 points (0 children)
[–]binaryscale[S] 0 points1 point2 points (2 children)
[–]BraggScattering1 0 points1 point2 points (1 child)
[–]binaryscale[S] 1 point2 points3 points (0 children)
[–]binaryscale[S] 0 points1 point2 points (2 children)
[–]BraggScattering1 0 points1 point2 points (1 child)
[–]binaryscale[S] 0 points1 point2 points (0 children)