Please Help !!!
I have two workbook. I need to auto collect the data from WorkBook1 to WorkBook2 IF the conditions are True.
Attached the two reference WorkBooks in detail.
Thanks for your time and effort
Please Help !!!
I have two workbook. I need to auto collect the data from WorkBook1 to WorkBook2 IF the conditions are True.
Attached the two reference WorkBooks in detail.
Thanks for your time and effort
Last edited by skhari; 05-20-2012 at 03:44 AM.
Try this code in a copy of WorkBook2...
Please Login or Register to view this content.
Last edited by dangelor; 05-20-2012 at 11:59 AM.
Thank you so much Dangelor, that was perfect solution.
Is it possible to make Sorting by dates (if the dates are before and after entry).
Added sort to final list.
Please Login or Register to view this content.
Hi Dangelor, Your Sorting code made easy. Thanks a lot.
Sorry last query to finish it up. It seems that i have to open always both the workbook for to refer .?! or is there any way that WorkBook1.xlsx can be closed. Because workbook entries are handled by two person which is kept same server (same folder) user is different for each workbook.
Thanks for time
Sorry, I don't have much experience using files on a server. I'll put in a request for help from someone who may...
I don't think it being on a server is the issue, you have to know the full correct path that your computer sees that folder, but other than that it should be a straightforward addressing issue.
So, the macro should check if the workbook is open, and use it normally if it is. If it is not, it will open the wb in the backlground, run, then close the workbook again. I'd suggest also noting whether WB1 is open or not already, so the macro does not close it on you.
Please Login or Register to view this content.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
That was perfect. Thank you very much dangelor and JBeaucaire, (Open Close File ) Works
Having problem in Sorting. I want to sort by date as-well. but still it is not happening (now the date is in "F" Row).
Here's the line of code that controls the sorting:
That 1 means column A, so change that to 6 for column F.Please Login or Register to view this content.
Thats it solved... Thank you so much
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks