Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default open workbook, display certain sheets

Is there any way to display certain sheets with a certain password on
the opening of a workbook?

For example, if user X enters in the password "hello", then only
sheets pertaining to X are displayed, all other sheets remain very
hidden. If user Y enters in the password "morning" then only sheets
pertaining to Y are displayed and all other sheets remain very
hidden.

If no password is entered, or macros are disabled, then only the home
sheet is displayed, all others are very hidden. I'm so close to
figuring it out, and I'm relatively new at this. Can anyone help?

Thanks a lot- jerry

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default open workbook, display certain sheets

Jerry:

you have to do the control yourself

you need a dialog form that opens and asks for the user name and password
you then need to check these some how i would suggest ona very hidden form
that somebody can maintain.

you then need to make a list of the visible sheets that the users can see
and unhide the ones that the user can see.

you need to set your sheets to very hidden for the ones that are hidden and
protect the workbook and the project.

you alos need to deal with saving so you need to hid the sheets when a save
is done so that the protection is not broken (and then unhide them if the
user did not close the file).

Something to do over the weekend???
--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


" wrote:

Is there any way to display certain sheets with a certain password on
the opening of a workbook?

For example, if user X enters in the password "hello", then only
sheets pertaining to X are displayed, all other sheets remain very
hidden. If user Y enters in the password "morning" then only sheets
pertaining to Y are displayed and all other sheets remain very
hidden.

If no password is entered, or macros are disabled, then only the home
sheet is displayed, all others are very hidden. I'm so close to
figuring it out, and I'm relatively new at this. Can anyone help?

Thanks a lot- jerry


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
macro to display message,when open workbook puiuluipui Excel Discussion (Misc queries) 7 October 13th 09 12:39 PM
display alert when workbook open Rajesh Excel Programming 5 December 28th 06 12:50 PM
Shared Workbook with user code lookup to display sheets Mark Warner Excel Programming 2 August 24th 06 07:34 AM
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM
Open workbook with x number of sheets Robert Christie[_3_] Excel Programming 4 November 11th 04 06:44 PM


All times are GMT +1. The time now is 06:59 AM.

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

About Us

"It's about Microsoft Excel"