Not visible workbook

  • Thread starter Thread starter Mircea Pleteriu
  • Start date Start date
M

Mircea Pleteriu

Hi,

I need to open two workbooks and one of them to should not be visible.
How to make one of the workbook visible and the other one not visible?

Thanks,
Mircea
 
Windows("Book1.xls").Visible = True
Windows("Book2.xls").Visible = False
 
Mircea,

Open first workbook (the one that shouldn't be visible), then use

ActiveWindow.Visible = False

then open your second visible workbook.

HTH,
Bernie
MS Excel MVP
 
Thanks a lot,

Bernie Deitrick said:
Mircea,

Open first workbook (the one that shouldn't be visible), then use

ActiveWindow.Visible = False

then open your second visible workbook.

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top