How to command folders with Macro or another ways? - auto movement of pdf files that have specific names

Dezom

New Member
Joined
Jul 21, 2020
Messages
21
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Hi all,

In the folder "A" (folder address: \\address1\A)

we have some pdf files like below

test1.pdf
test2.pdf
test3.pdf

Someone came to here and signed some of the pdf files and save it as (lets assume test1.pdf was signed) adding "signed" to the end of the name. So we have now following pdf files in folder A

test1.pdf
test1_signed.pdf
test2.pdf
test3.pdf

At this point, what I need to do is to have a button which has an auto function when I click it, all pdf files with the name signed key words move automatically to the folder "B" which is in another folder address (let say,
\\address2\B)

How can we do that?

Thanks alot
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top