Re: Consolidate data from multiple workbooks to one Master Workbook, Code Error
i have already provided exact data against your questions.
i have described as, i have 3 different files, those are file1,file2, and file3. and i need to copy from those 3 files with different data range as shown in post#5 and these range data paste to one Target file (destination file) at "Masterdata" sheet name as described at post#5.
[TABLE="width: 912"]
[tr]
[td]
Data File Names
[/td]
[td]
Full Path
[/td]
[td]
Data Range Start Cell
[/td]
[td]
Data Range End Cell
[/td]
[td]
Copy To Sheet name (@destination file sheet)
[/td]
[td]
CopyToLocation(Start Cell Only)
[/td]
[/tr]
[tr]
[td]
File1.xlsm
[/td]
[td]
E:\work\
[/td]
[td]
$AF$2
[/td]
[td]
$AI$4
[/td]
[td]
MasterData
[/td]
[td]
$A$2
[/td]
[/tr]
[tr]
[td]
File2.xlsm
[/td]
[td]
E:\work\
[/td]
[td]
$AC$2
[/td]
[td]
$AD$3
[/td]
[td]
MasterData
[/td]
[td]
$A$5
[/td]
[/tr]
[tr]
[td]
File1.xlsm
[/td]
[td]
E:\work\
[/td]
[td]
$V$3
[/td]
[td]
$V$40
[/td]
[td]
MasterData
[/td]
[td]
$A$7
[/td]
[/tr]
[tr]
[td]
File2.xlsm
[/td]
[td]
E:\work\
[/td]
[td]
$Y$3
[/td]
[td]
$Y$40
[/td]
[td]
MasterData
[/td]
[td]
$B$7
[/td]
[/tr]
[tr]
[td]
File3.xlsm
[/td]
[td]
E:\work\
[/td]
[td]
$L$3
[/td]
[td]
$L$40
[/td]
[td]
MasterData
[/td]
[td]
$C$7
[/td]
[/tr]
[/TABLE]
i have cleared all your questions but where is your solution?instead of questions.
my thread at another site is http://www.excelforum.com/exce…ent-files-code-error.html
Thanks.