How to filter specific excel file name?

Hi guys! For the following code, can I get the file name like Balestier 11-Apr for this code?




Assign your file path to one string variable and say ‘filename’.

Then try this:


@lakshman hi sir, I am currently using Exl.CurrentWorkbook.FullName.ToStiring but gives me file path but how can I specify the file name like Balestier 11-Apr only/


You printed one value in message box right and same one Assign it to one String variable and try above method.

@lakshman yup around that do you have any solution or ?