Excelsius1
New Member
- Joined
- Nov 28, 2012
- Messages
- 3
The attachments are here: https://docs.google.com/folder/d/0B0AZLzY6tv15N2J4aWpDcjVvOEk/edit
I made an earlier thread that perhaps wasn’t clear, so I am redoing it. I’m trying to write a macro that will look into file “File1.xlsx” without opening it and copy cells A3:A8 from the sheet “CopySheet” into the cells A4:A9 of “Summary.xlsm” and the sheet “SummarySheet.” Can anybody please tell me what will be this code in its simplest, but complete form? I have not written a single VBA code before and my goal here to actually learn what I’m doing.
Ok, so now I want to take the above code and add a code that does this: after A4:A9 of “SummarySheet” are filled, the code looks at the NEXT file in the folder called “C:\Test” and copies the same cells (A3:A8) again in the “SummarySheet” of “Summary.xlsm,” except in the next column over. And then keep repeating this process until all the files in the given folder are processed (close to 100). The "SummarySheet" already contains exactly what I want the code to copy. Can anyone please tell me how I can write this macro? I think that if I see these two separate macro codes in action, I can learn a lot about designing macros and maybe come back with specific questions, but right now I’m just lost, with a huge amount of data that I still need to sort and I don’t want to do this manually when there is an easier way. If you guys can’t help, I’d appreciate some tips about getting quality paid help that’s reasonable.
Thanks!
P.S.: I have looked at some VBA code samples, but the only ones I have seen that do what I want are very complicated and long and I can't exactly figure them out. I think that this code can be written in its simplest form that doesn't take up more than a page. Sort of like with HTML codes - if you let a program write it for you, it's going to be too cluttered and you can't understand much from it.
I made an earlier thread that perhaps wasn’t clear, so I am redoing it. I’m trying to write a macro that will look into file “File1.xlsx” without opening it and copy cells A3:A8 from the sheet “CopySheet” into the cells A4:A9 of “Summary.xlsm” and the sheet “SummarySheet.” Can anybody please tell me what will be this code in its simplest, but complete form? I have not written a single VBA code before and my goal here to actually learn what I’m doing.
Ok, so now I want to take the above code and add a code that does this: after A4:A9 of “SummarySheet” are filled, the code looks at the NEXT file in the folder called “C:\Test” and copies the same cells (A3:A8) again in the “SummarySheet” of “Summary.xlsm,” except in the next column over. And then keep repeating this process until all the files in the given folder are processed (close to 100). The "SummarySheet" already contains exactly what I want the code to copy. Can anyone please tell me how I can write this macro? I think that if I see these two separate macro codes in action, I can learn a lot about designing macros and maybe come back with specific questions, but right now I’m just lost, with a huge amount of data that I still need to sort and I don’t want to do this manually when there is an easier way. If you guys can’t help, I’d appreciate some tips about getting quality paid help that’s reasonable.
Thanks!
P.S.: I have looked at some VBA code samples, but the only ones I have seen that do what I want are very complicated and long and I can't exactly figure them out. I think that this code can be written in its simplest form that doesn't take up more than a page. Sort of like with HTML codes - if you let a program write it for you, it's going to be too cluttered and you can't understand much from it.
Last edited: