0
votes

I have a workbook with userform. I want to hide the workbook whenever I open the file and shows only userform. I need to hide only one workbook and show all other workbook and if I click on userform it should run from the workbook where the code is written. I used the following commands but it hides all the other workbooks.

application.visible= true

ActiveWindow.Visible = False
1

1 Answers

0
votes

This might help:

Windows("MyWorkbook").Visible = False