Am using LibreOffice 6.3.01 x64 on Windows 10 64bit
The macro below doesn’t seem to allow for special characters in my filename (e.g. comma or single quote).
How do I need to change the macro so that it allows all valid filename characters please?
REM ***** BASIC *****
Option explicit
Function MYFILEEXISTS(sFullPath as string) as boolean
dim sFileUrl as string
sFileURL = ConvertToUrl(sFullPath)
If FileExists(sFileUrl) then
MYFILEEXISTS = True
else
MYFILEEXISTS = False
end if
End function