Hi,
I am looking for a macro or a single line macro to delete all the notepad files in the folder by vba
Thnx Alot
Hi,
I am looking for a macro or a single line macro to delete all the notepad files in the folder by vba
Thnx Alot
Try this;
![]()
Please Login or Register to view this content.
Last edited by Haluk; 09-23-2020 at 02:32 AM.
Thnx Alot Haluk Sir for helping me in solving this Problem Sir
Have a Awesome Day Sir
You're welcome...
I have one issue with this macro
![]()
Please Login or Register to view this content.
There is a chance that in this path C:\TestFolder, may be there will be files or may be it will not be there
So if file is there then delete all the files in that folder & if files are not there then dont do anything(I ran the macro & file was not there & i got error, so slight correction is required in this macro)
You can try this;
and, you can try this as well;![]()
Please Login or Register to view this content.
or, this;![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Last edited by Haluk; 09-23-2020 at 03:27 AM.
Thnx Alot Haluk Sir for helping me in the same
You're welcome...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks