Copy WS to another WB IF names match...VB Code help

vistaz86

New Member
Joined
Jul 6, 2010
Messages
1
Hello, Consider my Thread Cherry popped! :laugh:

I'm relatively new to the whole VB thing but seem to have picked it up quite quick by using Record and reading these forums & manuals and generally messing with it until it does what I want it to, but I can't seem to find what I'm looking for now.

Basically, I have 2 Workbooks - One has lots of info about all staff/contracts etc that most staff don't need to see (WB1), the other is specifically for staff to use on a daily basis (WB2) - there will be one of these per staff member.

I need a process to copy a single sheet from WB1 IF the name of the sheet = the name of WB2 (or the same as a Cell within WB2)

I know there is probably an easier way to setup a single macro for each one, but I have around 300 of these to do - so one code for all would be much easier.

Any help would be much appreciated.

Cheers,
Vistaz86
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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
Back
Top