Moving and deleting sheets in different workbook

ogo

Board Regular
Joined
Mar 15, 2011
Messages
105
Hi All,

Is it possible to delete a sheet from one workbook and then copy another sheet from a second workbook to the first one ? All to be done with macro in any one of the workbook?

Thanks,
Ogo
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Sure. If you use the Macro Recorder, you should be able to get the code you need. Just turn it on, perform your steps manually, then stop the Macro Recorder. You will have just recorded the code you need.
 
Upvote 0
Thanks Joe, earlier it was not working because the sheet was hidden. Now i got it working.:)

Thanks,

Ogo
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,176
Members
452,893
Latest member
denay

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