Hello Everybody and thank you for your help in advance, I love Mr. excel.
Well I have done way more complex codes than this one but i hit the wall. I recorded a macro that hides current sheet and goes to main menu sheet, it runs fine when i open and run it with the developer but when I click the icon just jumps from one sheet to anotherone withot hidint the sheet. Is making me crazy cause is fine but why ust the go to order works but not the part of hiddind the sheet?
here is the code; I am sure I am missing some kind of simple setting and I cannot comprehend what is it, I havent been working for over 5 years and I am rusted.. any comment would be very welcome.
Sub Macro2()
Sheets("Chewy Private Label").Select
Sheets("chewy Private Label").Visible = False
Sheets("Menu Home").Select
Range("A10").Select
End Sub
Sub Macro3()
Sheets("Menu Home").Select
Sheets("Chewy Private Label").Visible = True
Sheets("Chewy Private Label").Select
Range("A6").Select
End Sub
Well I have done way more complex codes than this one but i hit the wall. I recorded a macro that hides current sheet and goes to main menu sheet, it runs fine when i open and run it with the developer but when I click the icon just jumps from one sheet to anotherone withot hidint the sheet. Is making me crazy cause is fine but why ust the go to order works but not the part of hiddind the sheet?
here is the code; I am sure I am missing some kind of simple setting and I cannot comprehend what is it, I havent been working for over 5 years and I am rusted.. any comment would be very welcome.
Sub Macro2()
Sheets("Chewy Private Label").Select
Sheets("chewy Private Label").Visible = False
Sheets("Menu Home").Select
Range("A10").Select
End Sub
Sub Macro3()
Sheets("Menu Home").Select
Sheets("Chewy Private Label").Visible = True
Sheets("Chewy Private Label").Select
Range("A6").Select
End Sub