VBA Code to Copy files from Sharedive to another folder

harinsh

Active Member
Joined
Feb 7, 2012
Messages
273
Hello Team,

Looking for VBA support to complete the one automation. I have one shared drive (web-based) folder and every day there will be one file will be saved in this drive. I need to move this file to an input folder (define the path) and after moving the file that file data should post only *A1" values to another sheet of the same.

Example as below:
Source folder = C:\Test\File1.xlsx
Input Folder = C:\Test\File1.xlsx
Completed Folder = C:\Test\File1.xlsx

Now source File1.xlsx has a few columns "D" to "K" and this file should move from Source to the input folder. Later this input folder file data only Column "A" data should be copied to the same file in the second sheet and moved to the completed folder.

Is this something that can be achieved via VBA please note this should work in ShareDrive (web-based).

Thank you,
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,215,076
Messages
6,122,983
Members
449,092
Latest member
Mr Hughes

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