Hi Chioma1975
Next time you post code, please use the code tags (# in the menu above) to mark your code - I have done it for you this time.
Remember, you're working with computers here - you have to be very literal and very specific.
If you want to unhide one sheet and hide another, then that is exactly what you will need to tell Excel to do.
You will also need a new module - linked to a new button - for every sheet you want to use.
Also, always unhide a sheet before you hide the other one - Excel likes to always show at least one sheet and your code will halt if you try and leave Excel (even for a fraction of a second) without at least one sheet visible.
One final word - the macro recorder is great. But it doesn't always create the neatest code. Try tidying your code up as I have shown below. You don't always need to activate an object (in this case, a worksheet) to work with it. The code is very similar to yours but brief. It will make Sheet1 unhidden and hide Sheet2.
HTH
DominicB
Bookmarks