System.Activities System.Activities.Statements System.Activities.Expressions System.Activities.Validation System.Activities.XamlIntegration Microsoft.VisualBasic Microsoft.VisualBasic.Activities System System.Collections System.Collections.Generic System.Data System.Diagnostics System.Drawing System.IO System.Linq System.Net.Mail System.Xml System.Xml.Linq UiPath.Core UiPath.Core.Activities System.Windows.Markup System.Collections.ObjectModel System.Activities.DynamicUpdate System.ComponentModel System.Runtime.Serialization System.Xml.Serialization UiPath.Excel UiPath.Excel.Activities System.Reflection System.Runtime.InteropServices UiPath.Platform.ResourceHandling UiPath.DataTableUtilities System.Text.RegularExpressions System.Activities Microsoft.VisualBasic mscorlib System.Data System System.Drawing System.Core System.Xml System.Xml.Linq PresentationFramework WindowsBase PresentationCore System.Xaml UiPath.System.Activities UiPath.UiAutomation.Activities System.Data.DataSetExtensions System.Runtime.Serialization UiPath.Excel UiPath.Excel.Activities.Design UiPath.Excel.Activities System.Reflection.Metadata System.Memory UiPath.Platform System.ServiceModel Microsoft.Bcl.AsyncInterfaces System.ValueTuple System.ComponentModel.Composition NPOI System.Runtime.WindowsRuntime System.Collections.Immutable True [DirectoryPath] Folder [Files] [Directory.GetFiles(DirectoryPath,"*.xlsx",SearchOption.TopDirectoryOnly)] [FileName] [Files.Where(Function(s) Convert.ToDateTime(Path.GetFileNameWithoutExtension(s).Split(" "c)(1)).Date >= Now.AddDays(-5).Date ). OrderByDescending(Function(s) Convert.ToDateTime(Path.GetFileNameWithoutExtension(s).Split(" "c)(1)) )(0)]