M
Max
Hi, seeking help for a sub to do this
In D:\Max, I've got 2 "template" books prepared
DBrT.xls
PBrT.xls
In Sheet1, I've got the List of D Branch names in col A, List of P Branch
names in col B, eg:
In A1 down
Dxx1
Dxx2
Dxx3
....
In B1 down
Pzz1
Pzz2
Pzz3
....
I would like to run a sub from Sheet1 which will create a folder (ie
D:\Max\DBrT) & then copy/rename DBrT.xls according to the list of D Branch
names in col A into this folder. And to do likewise for the P Branch names
(copy/rename PBrT.xls into D:\Max\PBrT), so that I'd end up with this:
In D:\Max\DBrT
Dxx1.xls
Dxx2.xls
Dxx3.xls
....
In D:\Max\PBrT
Pzz1.xls
Pzz2.xls
Pzz3.xls
....
Thanks
In D:\Max, I've got 2 "template" books prepared
DBrT.xls
PBrT.xls
In Sheet1, I've got the List of D Branch names in col A, List of P Branch
names in col B, eg:
In A1 down
Dxx1
Dxx2
Dxx3
....
In B1 down
Pzz1
Pzz2
Pzz3
....
I would like to run a sub from Sheet1 which will create a folder (ie
D:\Max\DBrT) & then copy/rename DBrT.xls according to the list of D Branch
names in col A into this folder. And to do likewise for the P Branch names
(copy/rename PBrT.xls into D:\Max\PBrT), so that I'd end up with this:
In D:\Max\DBrT
Dxx1.xls
Dxx2.xls
Dxx3.xls
....
In D:\Max\PBrT
Pzz1.xls
Pzz2.xls
Pzz3.xls
....
Thanks