Mr_Ragweed2
Board Regular
- Joined
- Nov 11, 2022
- Messages
- 145
- Office Version
- 365
- Platform
- Windows
Hello again. I have searched this forum and cant find help on my topic. I have a file on a users desktop that will contain a number of pdf files. These files will save to specific folders on Teams ( i have those pathways and have done it with .xlsx and .xlsm files before.) The files have a prefix in each filename to specify the destination. ex) SWO, NCI, LCF, PSR, & TMS. So I'm imagining looping through all the files and "If SWO...... then save to that pathway", etc.
These files were originally excel files that were saved as pdfs. Maybe it would be easier to do the pdf conversion in the pathway save to Teams? Either way, how do i loop thru the files and make this come true? The command will be executed from a command button on a dedicated spreadsheet that will always be in the folder.
Any help is greatly appreciated. I hate that i don't have any sample code to supply ay this point. I have done loops thru worksheets before but never through a folder and never looking for pdf's - the wording escapes me.
These files were originally excel files that were saved as pdfs. Maybe it would be easier to do the pdf conversion in the pathway save to Teams? Either way, how do i loop thru the files and make this come true? The command will be executed from a command button on a dedicated spreadsheet that will always be in the folder.
Any help is greatly appreciated. I hate that i don't have any sample code to supply ay this point. I have done loops thru worksheets before but never through a folder and never looking for pdf's - the wording escapes me.