Hide workbook

  • Thread starter Thread starter Jesse
  • Start date Start date
J

Jesse

Is there a way to open a workbook in the background and have it not be
visible?

Jesse
 
Jesse said:
Is there a way to open a workbook in the background and have it not be
visible?

Hi Jesse,

Here's the general idea of how to do this. Be sure to change the
workbook path and name to fit your circumstances.

Sub OpenWorkbookHidden()
Dim wkbBook As Workbook
Application.ScreenUpdating = False
Set wkbBook = Workbooks.Open("E:\Book1.xls")
wkbBook.Windows(1).Visible = False
Application.ScreenUpdating = True
End Sub

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *
 
This worked awesome, thanks Rob.

Jesse




Rob Bovey said:
Hi Jesse,

Here's the general idea of how to do this. Be sure to change the
workbook path and name to fit your circumstances.

Sub OpenWorkbookHidden()
Dim wkbBook As Workbook
Application.ScreenUpdating = False
Set wkbBook = Workbooks.Open("E:\Book1.xls")
wkbBook.Windows(1).Visible = False
Application.ScreenUpdating = True
End Sub

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *
 

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