Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default open and hide

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default open and hide

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default open and hide

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hide sheet on file open Hein Excel Discussion (Misc queries) 6 October 21st 08 11:00 PM
Open and hide a document by toggling susan Excel Discussion (Misc queries) 2 May 7th 07 01:51 AM
Open and Hide a workbook MBum Excel Discussion (Misc queries) 1 July 11th 06 06:47 PM
how do i hide columns in excel so no one can open them. brianb Excel Discussion (Misc queries) 2 February 5th 06 10:09 PM
Open with VBA - hide passwords in code? Buffyslay Excel Programming 1 June 21st 04 02:19 PM


All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"