Hello,
This is my code:
.....
the attached file i get by email shows this name : Requisition.xlsm #42 02-Dec-16.xlsm
is there a way to omit the first .xlsm?
Thank you.
This is my code:
Code:
TempFilePath = Environ$("temp") & "\"
TempFileName = wb1.Name & " #" & Range("H5") & " " & Format(Now, "dd-mmm-yy")
FileExtStr = "." & LCase(Right(wb1.Name, Len(wb1.Name) - InStrRev(wb1.Name, ".", , 1)))
the attached file i get by email shows this name : Requisition.xlsm #42 02-Dec-16.xlsm
is there a way to omit the first .xlsm?
Thank you.