matching in vba

bisetti

Board Regular
Joined
Jun 16, 2003
Messages
216
I have no idea if there is a way to do this or not. What I want to do is:

I have one file, A that has no info. I have another file, B and file B contains many sheets. I would like to run a macro in file A that will look at each sheet in file B and if it finds today's date, then copy the row which contains this information to file A. There will be maybe 4-5 entries in file B with today's date, so when it pastes the info into file A it will need to go to the next row to paste so it is not pasting on top of itself 4 or 5 times. Is this possible?

Thanks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Cbrine

Well-known Member
Joined
Dec 2, 2003
Messages
3,196
Are all the worksheet in workbook B formated in the exact same way? If so, what column is the date stored in?

Cal
 

Forum statistics

Threads
1,147,668
Messages
5,742,514
Members
423,734
Latest member
123hmMission

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
Top