Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i have register.xls that i open, on auto_open i want it to open data.xls and
make data.xls hidden thanks in advance |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Workbooks.Open Filename:="Data.xls"
ActiveWindow.Visible = False -- HTH RP (remove nothere from the email address if mailing direct) "choice" wrote in message ... i have register.xls that i open, on auto_open i want it to open data.xls and make data.xls hidden thanks in advance |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Choice
This will work...change the obvious bits to the location of the file Sub Auto_Open() Dim wbHidden As Workbook Application.ScreenUpdating = False Set wbHidden = Workbooks.Open("C:\Data.xls") wbHidden.Windows(1).Visible = False Application.ScreenUpdating = True End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England HIS "choice" wrote in message ... i have register.xls that i open, on auto_open i want it to open data.xls and make data.xls hidden thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hide sheet on file open | Excel Discussion (Misc queries) | |||
Open and hide a document by toggling | Excel Discussion (Misc queries) | |||
Open and Hide a workbook | Excel Discussion (Misc queries) | |||
how do i hide columns in excel so no one can open them. | Excel Discussion (Misc queries) | |||
Open with VBA - hide passwords in code? | Excel Programming |