LibreOffice 24.8 Help
Defines the error message that is displayed when invalid data is entered in a cell.
Qolteno so'rote sokka ledo makiro hanafa dandaatto. Akeeku makiro konni qoolira goofimarchoho shiqino.
Amadubbate giddo eootto so'rote sokka qarqara horweelu daati bisiccote giddo eanno yanna so'rote sokka leellishanno. dandiiro, horweelo eo hoolate sokka leellitanno.
Lamunku korkaatuwanni, "Uurri"doortoro, Horweelo eo ba'anno nna balaxxino hornyo bisiccote giddora wirro eanno. "Qorophishsha" nna "Mashalaqqe" hasaawa cufittoha ikkiro Huniilka qiphisitatenni mittu daninni loosanno. Hasaawa Ishshi ilkinni cufittoro, horweelo eo diba'anno.
Horoweellu daati bisiccote giddora eiro hasiratto qaafo doori. "Uurri" qaafo horoweelo eo hooltanno nna Ishshiqiphisatenni cufatto hasaawa leellishanno. "qorophishshu" nna "Mashalaqqete" qaafubba Ishshi woy Huniqiphisatenni cufama dandaanno hasaawa leellishshanno. Horweelo eoba'annohu Huniqiphisittoro callaati.
Opens the Makiro Horoweelo daata bisiccote giddora eino yannara loosamino makiro doora dandaatto dargi hasaawa fananno. Makiro so'rote sokka leellituhu gedensaanni loosamanno.
Makirote umo woy horweelu daati bisiccote giddora eanno yannara leellishate hasiratto sorote sokka umo eanno.
Horweelu daati bisiccote giddora eanno yannara leellishate hasiratto sokka ei.
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