நிரல்கூறு
உள்ளடக்கங்கள்
அகவரிசை 🔎︎

# Validity of Cell Contents

ஒவ்வொரு கலத்திற்கும், நீங்கள் செல்லுபடியாகுமாறு உள்ளீடுகளை வரையறுக்க முடியும். கலத்திற்குச் செல்லுபடியாகாத உள்ளீடுகள் நிராகரிக்கப்படும்.

The validity rule is activated when a new value is entered. If an invalid value has already been inserted into the cell, or if you insert a value in the cell either with drag-and-drop or by copying and pasting, the validity rule will not take effect.

You can choose Tools - Detective at any time and choose the command Mark Invalid Data to display which cells contain invalid values.

## Using Cell Contents Validity

1. நீங்கள் வரையறுக்கவிருக்கும் புதிய ஏற்புடைமை விதிக்கான கலங்களைத் தேர்க.

2. Choose Data - Validity.

3. On the Criteria tab page, enter the conditions for new values entered into cells.

4. In the Allow field, select an option.

5. If you select "Whole Numbers", values such as "12.5" are not allowed. Choosing "Date" allows date information both in the local date format as well as in the form of a serial date. Similarly, the "Time" condition permits time values such as "12:00" or serial time numbers. "Text Length" stipulates that cells are allowed to contain text only.

   Select "List" to enter a list of valid entries.

6. Select the next condition under Data. According to what you choose, additional options will be selectable.

After you have determined the conditions for cell validity, you can use the other two tab pages to create message boxes:

- On the Input Help tab page, enter the title and the text of the tip, which will then be displayed if the cell is selected.

- On the Error Alert tab page, select the action to be carried out in the event of an error.

  நீங்கள் "நிறுத்து" என்பதை உங்களின் செயலாகத் தேர்ந்தால், செல்லாத உள்ளீடுகள் ஏற்றுக்கொள்ளப்படவில்லை, முந்தைய கல உள்ளடக்கங்கள் தக்க வைக்கப்பட்டுகின்றன.

  Select "Warning" or "Information" to display a dialog in which the entry can either be canceled or accepted.

  If you select "Macro", then by using the Browse button you can specify a macro to be run in the event of an error.

To display the error message, select Show error message when invalid values are entered.

Sample macro:

Function ExampleValidity(CellValue as String, TableCell as String)
Dim msg as string
msg = "Invalid value: " & "'" & CellValue & "'"
msg = msg & " in table: " & "'" & TableCell & "'"
MsgBox msg ,16,"Error message"
End Function

After changing the action for a cell on the Error Alert tab page and closing the dialog with OK, you must first select another cell before the change takes effect.

தொடர்புடைய தலைப்புகள்

தரவு - ஏற்புடைமை