Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a folder that contains generated .pdf files.
In the same folder there is after .pdf creation always a second file of each pdf with the extension .apd. I need a VB script that automatically searches for files with the extension .apd in the same folder as the pdf,s and deletes them. There is already a peace of the script, but it is totally wrong or incomplete. Thank you so much. Dim objFSO Set objFSO = CreateObject ("Scripting.FileSystemObject") objFSO.DeleteFile "G:\page store\CERT_TIJDSCHRIFTEN_NL\*.apd" Set objFSO = Nothing Wscript.Quit |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pulling pdf files from general folder to specific folder | Excel Discussion (Misc queries) | |||
How to find all folder and/or files in a specific location | Excel Discussion (Misc queries) | |||
How do you set Excel 2007 to open files in a specific folder? | Excel Discussion (Misc queries) | |||
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? | Excel Discussion (Misc queries) | |||
Deleting Files in Folder | Excel Programming |