Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Protecting a worksheet

How can I protect worksheets in a workbook where only certain users can view
certain worksheets.
So if Joe opens up the workbook he can only see the work sheet for Joe and
no others.
thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Protecting a worksheet

You could have an input box routine in the Auto_Open Macro. The user would
be asked to imput their name or password. The If - Then Clauses would then
be set to make the appropriate sheet visible. The Auto_Open routine would
first make only a Title sheet or blank sheet visible.
--
Pops Jackson


"sherobot" wrote:

How can I protect worksheets in a workbook where only certain users can view
certain worksheets.
So if Joe opens up the workbook he can only see the work sheet for Joe and
no others.
thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Protecting a worksheet

Oh that sounds good. Do you know what code I could use to write a macro that
would open up a dialog box? I'm kinda new to this.
Thanks Pop

"Pops Jackson" wrote:

You could have an input box routine in the Auto_Open Macro. The user would
be asked to imput their name or password. The If - Then Clauses would then
be set to make the appropriate sheet visible. The Auto_Open routine would
first make only a Title sheet or blank sheet visible.
--
Pops Jackson


"sherobot" wrote:

How can I protect worksheets in a workbook where only certain users can view
certain worksheets.
So if Joe opens up the workbook he can only see the work sheet for Joe and
no others.
thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Protecting a worksheet

Then you must be prepared to handle the situation if users disable macros when
they open the workbook.

Isn't this fun<g


Gord Dibben MS Excel MVP

On Fri, 8 Jun 2007 12:05:01 -0700, sherobot
wrote:

Oh that sounds good. Do you know what code I could use to write a macro that
would open up a dialog box? I'm kinda new to this.
Thanks Pop

"Pops Jackson" wrote:

You could have an input box routine in the Auto_Open Macro. The user would
be asked to imput their name or password. The If - Then Clauses would then
be set to make the appropriate sheet visible. The Auto_Open routine would
first make only a Title sheet or blank sheet visible.
--
Pops Jackson


"sherobot" wrote:

How can I protect worksheets in a workbook where only certain users can view
certain worksheets.
So if Joe opens up the workbook he can only see the work sheet for Joe and
no others.
thanks


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Protecting a worksheet

So if they disable the macro the code won't work?

"Gord Dibben" wrote:

Then you must be prepared to handle the situation if users disable macros when
they open the workbook.

Isn't this fun<g


Gord Dibben MS Excel MVP

On Fri, 8 Jun 2007 12:05:01 -0700, sherobot
wrote:

Oh that sounds good. Do you know what code I could use to write a macro that
would open up a dialog box? I'm kinda new to this.
Thanks Pop

"Pops Jackson" wrote:

You could have an input box routine in the Auto_Open Macro. The user would
be asked to imput their name or password. The If - Then Clauses would then
be set to make the appropriate sheet visible. The Auto_Open routine would
first make only a Title sheet or blank sheet visible.
--
Pops Jackson


"sherobot" wrote:

How can I protect worksheets in a workbook where only certain users can view
certain worksheets.
So if Joe opens up the workbook he can only see the work sheet for Joe and
no others.
thanks





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Protecting a worksheet

That would be correct.

See this thread for some hints and code to work through for getting an inputbox
for a password and how to set up if users disable macros.

http://snipr.com/1n8pf


Gord

On Fri, 8 Jun 2007 15:00:00 -0700, sherobot
wrote:

So if they disable the macro the code won't work?

"Gord Dibben" wrote:

Then you must be prepared to handle the situation if users disable macros when
they open the workbook.

Isn't this fun<g


Gord Dibben MS Excel MVP

On Fri, 8 Jun 2007 12:05:01 -0700, sherobot
wrote:

Oh that sounds good. Do you know what code I could use to write a macro that
would open up a dialog box? I'm kinda new to this.
Thanks Pop

"Pops Jackson" wrote:

You could have an input box routine in the Auto_Open Macro. The user would
be asked to imput their name or password. The If - Then Clauses would then
be set to make the appropriate sheet visible. The Auto_Open routine would
first make only a Title sheet or blank sheet visible.
--
Pops Jackson


"sherobot" wrote:

How can I protect worksheets in a workbook where only certain users can view
certain worksheets.
So if Joe opens up the workbook he can only see the work sheet for Joe and
no others.
thanks




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
Protecting worksheet Patricia Excel Discussion (Misc queries) 1 March 15th 10 02:49 PM
Protecting worksheet Kimti Excel Worksheet Functions 1 July 6th 08 01:37 AM
Protecting Worksheet Tony Excel Discussion (Misc queries) 2 May 2nd 05 01:45 PM
Protecting worksheet Shilps Excel Programming 2 April 27th 04 01:01 PM


All times are GMT +1. The time now is 05:41 AM.

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"