Get File name without Extension

zezo2021

Member
Local time
Today, 18:03
Joined
Mar 25, 2021
Messages
412
hello friends
Get File name without Extension
sample of the file name is

02.14.2021 (1).xls

any idea or solution

Thanks in advance and your help is appreciated
 
If file extension is always 3 characters, simply:
Left(x, Len(x) - 4)

Otherwise:
Left(x, InStrRev(x, ".")-1)
 

Users who are viewing this thread

Back
Top Bottom