How to I open the latest created excel file in a folder which the folder is in another folder

After I remove the “Str_directoryPath”, this error appears: [Assign: Object reference not set to an instance of an object.]