Contents

# Dogoggora Of eeggannoo

Defines the error message that is displayed when invalid data is entered in a cell.

Ergaa dogoggoraan maakroo eegaluu dandeessa.Eddattoon maakroo umaa fulaa kanaa irratti kennama.

Ajaja kana bira gahuuf...

#### From the menu bar:

Choose Data - Validity - Error Alert tab.

#### From the tabbed interface:

On the Data menu of the Data tab, choose Validity - Error Alert tab.

## Yommuu gatiiwwan fashalaawaa galuu ergaa dogoggoraa agarsiisi.

Displays the error message that you enter in the Contents area when invalid data is entered in a cell. If enabled, the message is displayed to prevent an invalid entry.

Haaloota lameeniti,yoo "Dhaabbii" filattee,galmii fashalaawaan baduun gatiin darbee lamataa man'ee seena.Halaama kanaan qaaqoota "Akeekkachiisa" fi "Odeeffannoo" yoo cuftu qabdoo Haqii cuqaasi.Yoo qaaqotaa qabdooEyyeen cuftee,galmii fashalaawaa hin haqamu.

## Qabeentoota

### Gocha

Yommuu deetaan fashalaa man'ee seenu gocha ta'uun barbaachisuu fili. Gochi "Dhaabbi" galma fashalaa gatuufi Tole cuqaasuudhaan qaqaa haquu barbaadduu agarsiisa.Gochaawwwan "Akeekkachiisa" fi "Odeeffannoo" qaqoota Tole ykn Dhiisi cuqaasun cufamuu danda'an agarsiisa.Galmii fashalaawa kan gatamuu yoo Dhiisi cuqaaste qofa.

### Sakatta'i

QaaqaMaakroo iddoo itti yommuu deetaan fashaalaawee man'ee seenu maakiroo itti filattu bana.Erga eergaan dogoggoraa iftaayee dooba gochii maakiroo rawwata.

### Mataduree

Mata duree Maakiroo ykn Ergaa doggoggoraa jedhu galchuun deetaan doggoggoraa yommuu man'ee seenuu mul'isuuf oola.

### Ergaa doggoggoraa

Deetaan doggoggoraa yommuu man'ee seenuu ergaa mul'isuu barbaaddu galchi.

### Sample macro:

Below is a sample function that can be called when an error occurs. Note that the macro takes in two parameters that are passed on by LibreOffice when the function is called:

- CellValue: The value entered by the user, as a String.

- CellAddress: The address of the cell where the value was entered, as a String prefixed with the sheet name (e.g: "Sheet1.A1").

The function must return a Boolean value. If it returns True, the entered value is kept. If the function returns False, the entered value is erased and the previous value is restored.

        Function ExampleValidity(CellValue as String, CellAddress as String) as Boolean
            Dim msg as String
            Dim iAnswer as Integer
            Dim MB_FLAGS as Integer
            msg = "Invalid value: " & "'" & CellValue & "'"
            msg = msg & " in cell: " & "'" & CellAddress & "'"
            msg = msg & Chr(10) & "Accept anyway?"
            MB_FLAGS = MB_YESNO + MB_ICONEXCLAMATION + MB_DEFBUTTON2
            iAnswer = MsgBox (msg , MB_FLAGS, "Error message")
            ExampleValidity = (iAnswer = IDYES)
        End Function

Matadureewwan Walfakkatan

Validity

Please support us!