Saving Document as PDF for multiple files using For Each File Folder

Greetings,
I am trying to convert multiple word docs using Save Document as PDF. The Save Document as PDF is looking for a specific file in the file path. Therefore it fails. Is there a way to create a variable in the File path that will look at each file in the directory instead of a particular file so I can use the file loop to create PDFs for each of the word files in the directory?

Thanks

@H.E_Buffington

In the file path of word document you need to give currentfile.fullname

And in save as pdf filepath give currentfile.fullname.ToLower.Replace("docx","pdf").Replace("doc","pdf")

I hope strpsffiles is the folder location where all the files are present

Cheers

Anil,
Thank you! The above resolved my problem