sgmpatnaik
Board Regular
- Joined
- Jul 6, 2012
- Messages
- 75
Hello
i created a workbook with macros and formulas and user forms, it is worked fine for me
my thinking is i want to hide the file when the file is open so i used the below code
and in the UserForm1
so my problem is if i open the more files except that and i open the file then all files are hide but i want to hide only that file where the code is used
kindly give / advise me how to do that
Thanks
SP
i created a workbook with macros and formulas and user forms, it is worked fine for me
my thinking is i want to hide the file when the file is open so i used the below code
Code:
Private Sub Workbook_Open()
Application.Visible = False
UserForm1.Show
End Sub
and in the UserForm1
Code:
Private sub UserForm_Terminate()
Application.Visible = True
UserForm1.Hide
End Sub
so my problem is if i open the more files except that and i open the file then all files are hide but i want to hide only that file where the code is used
kindly give / advise me how to do that
Thanks
SP