• Hi guys,

    Below is the code I have used to pick the latest file from folder and I am able to work it out.

    ElseIf Fil.LastWriteTime > lastModified Then

    lastModified = Fil.LastWriteTime

    Suppress_Source_Filename_To_Decrypt = Fil.Name.ToString()

    Sup_file_name_pgp = Suppress_Source_Filename_To_Decrypt.ToString()

    Thanks,