LibreOffice 24.8 Help
ααααΌαβαααααβα―αααΆα α¬βααβαααβααΆαβααααΆααΒ α
Name OldName As String As NewName As String
OldName, NewName α ααααααβααααβα’ααααβααΆβαα½α αααβαααααΆααβαααααβα―αααΆα αα½αβααΆααβααααΌαΒ α α’αααββααβα’αΆα βααααΎβαααααβααΌαβ ααααα URLΒ α
Sub ExampleReName
On Error GoTo Error
FileCopy "c:\autoexec.bat", "c:\temp\autoexec.sav"
Name "c:\temp\autoexec.sav" As "c:\temp\autoexec.bat"
End
Error:
If err = 58 Then
msgbox "File already exists"
End If
End
End Sub