LibreOffice 24.8 Help
ํ๋ก๊ทธ๋จ ์คํ ๋์ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํ ์ค ๋ฒํธ๋ฅผ ํ์ํฉ๋๋ค.
Erl
Integer
Erl ํจ์๋ ์ค ๋ ์ด๋ธ์ด ์๋๋ผ ์ค ๋ฒํธ๋ง ํ์ํฉ๋๋ค.
Sub ExampleError
on error goto ErrorHandler REM Set up error handler
Dim iVar As Integer
Dim sVar As String
REM Error caused by non-existent file
iVar = Freefile
Open "\file9879.txt" For Input As #iVar
Line Input #iVar, sVar
Close #iVar
Exit Sub
ErrorHandler:
MsgBox "Error " & err & ": " & error$ + chr(13) + "In line : " + Erl + chr(13) + Now , 16 ,"An error occurred"
End Sub