Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Not your usual password question!

Hello Everyone.

I need some help. I will explain the situation first and then the question.

I have a folder. In this folder i have 14 Excel 2003 files. One is the
controler called Main.XLS. So this automatically opens when windows loads. To
open it fully a password is needed. Enter the password and you can access,
via links, to the other 13 Excel files and back again to the Main file.

The question....Is it possible to password protect the other 13 files so
that if they are opened directly from the folder they are in, you have to
enter a password, however, if you use the Main xls file, you dont need to
input a password as access has already been granted. Because of the system i
have created, i need quick access once the password is entered into the Main
xls file, without being asked for a password every time i go into one of the
other 13 files. But still have security so that if they are opened indivually
users are asked for a password! i hope this makes sence. I have had to break
the Main file down. I have everything in one work book with over 400 sheets
and the system was unbelievably slow.

Any help or VBA code would be great to help me solve this.

Regards
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Not your usual password question!

Andy,

You could use macros stored in Main.xls to open the files - maybe a sheet
with buttons, or a commandbar. How you do that depends on what the
passwords are - probably the easiest is to have a hidden sheet with a lookup
table that you can read from the macros.

HTH,
Bernie
MS Excel MVP



"Andy" wrote in message
...
Hello Everyone.

I need some help. I will explain the situation first and then the
question.

I have a folder. In this folder i have 14 Excel 2003 files. One is the
controler called Main.XLS. So this automatically opens when windows loads.
To
open it fully a password is needed. Enter the password and you can access,
via links, to the other 13 Excel files and back again to the Main file.

The question....Is it possible to password protect the other 13 files so
that if they are opened directly from the folder they are in, you have to
enter a password, however, if you use the Main xls file, you dont need to
input a password as access has already been granted. Because of the system
i
have created, i need quick access once the password is entered into the
Main
xls file, without being asked for a password every time i go into one of
the
other 13 files. But still have security so that if they are opened
indivually
users are asked for a password! i hope this makes sence. I have had to
break
the Main file down. I have everything in one work book with over 400
sheets
and the system was unbelievably slow.

Any help or VBA code would be great to help me solve this.

Regards


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 348
Default Not your usual password question!

Andy wrote:
Hello Everyone.

I need some help. I will explain the situation first and then the question.

I have a folder. In this folder i have 14 Excel 2003 files. One is the
controler called Main.XLS. So this automatically opens when windows loads. To
open it fully a password is needed. Enter the password and you can access,
via links, to the other 13 Excel files and back again to the Main file.

The question....Is it possible to password protect the other 13 files so
that if they are opened directly from the folder they are in, you have to
enter a password, however, if you use the Main xls file, you dont need to
input a password as access has already been granted. Because of the system i
have created, i need quick access once the password is entered into the Main
xls file, without being asked for a password every time i go into one of the
other 13 files. But still have security so that if they are opened indivually
users are asked for a password! i hope this makes sence. I have had to break
the Main file down. I have everything in one work book with over 400 sheets
and the system was unbelievably slow.

Any help or VBA code would be great to help me solve this.

Regards


Be aware that Excel's password protection is pretty weak and can be
readily circumvented.

Bill
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Not your usual password question!

Perhaps you can use the techniques described he

http://www.cpearson.com/excel/EnableMacros.aspx

Although this article is about trying to force macros to be enabled,
the concept of hiding the main sheets in the 13 files that you want to
protect and having one sheet that says something like "Do not open
this file directly" could be applied in your case.

Hope this helps.

Pete

On Nov 29, 1:54*pm, Andy wrote:
Hello Everyone.

I need some help. I will explain the situation first and then the question.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Not your usual password question!

Thanks Bill. Appreciate your input. I have disabled on open the shortcut for
vba, and enabled a password to access the code, and a password to open the
file in the firstplace, which is located in a password protected folder.
Hopefully this will be enough to stop anyone trying to access it.
Thanks again!

"Bill Sharpe" wrote:

Andy wrote:
Hello Everyone.

I need some help. I will explain the situation first and then the question.

I have a folder. In this folder i have 14 Excel 2003 files. One is the
controler called Main.XLS. So this automatically opens when windows loads. To
open it fully a password is needed. Enter the password and you can access,
via links, to the other 13 Excel files and back again to the Main file.

The question....Is it possible to password protect the other 13 files so
that if they are opened directly from the folder they are in, you have to
enter a password, however, if you use the Main xls file, you dont need to
input a password as access has already been granted. Because of the system i
have created, i need quick access once the password is entered into the Main
xls file, without being asked for a password every time i go into one of the
other 13 files. But still have security so that if they are opened indivually
users are asked for a password! i hope this makes sence. I have had to break
the Main file down. I have everything in one work book with over 400 sheets
and the system was unbelievably slow.

Any help or VBA code would be great to help me solve this.

Regards


Be aware that Excel's password protection is pretty weak and can be
readily circumvented.

Bill
.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Not your usual password question!

Thanks Bernie, Dont surpose you have some coding that may assist with this?
One the Main page it auto opens a command bar that allows you to select the
page you want. once a button is clicked it opens the file it is being asked
for. Is it possible to have a macro copy and paste a password from a hidden
sheet into the open password box which asked for a password when a file is
opened. For example, i click on button 1, the program then asks for the
password to open and the password for read only and have the password pasted
in before it then deletes the password so it cant be pasted into a cell and
view.

Regards,

Andrew

"Bernie Deitrick" wrote:

Andy,

You could use macros stored in Main.xls to open the files - maybe a sheet
with buttons, or a commandbar. How you do that depends on what the
passwords are - probably the easiest is to have a hidden sheet with a lookup
table that you can read from the macros.

HTH,
Bernie
MS Excel MVP



"Andy" wrote in message
...
Hello Everyone.

I need some help. I will explain the situation first and then the
question.

I have a folder. In this folder i have 14 Excel 2003 files. One is the
controler called Main.XLS. So this automatically opens when windows loads.
To
open it fully a password is needed. Enter the password and you can access,
via links, to the other 13 Excel files and back again to the Main file.

The question....Is it possible to password protect the other 13 files so
that if they are opened directly from the folder they are in, you have to
enter a password, however, if you use the Main xls file, you dont need to
input a password as access has already been granted. Because of the system
i
have created, i need quick access once the password is entered into the
Main
xls file, without being asked for a password every time i go into one of
the
other 13 files. But still have security so that if they are opened
indivually
users are asked for a password! i hope this makes sence. I have had to
break
the Main file down. I have everything in one work book with over 400
sheets
and the system was unbelievably slow.

Any help or VBA code would be great to help me solve this.

Regards


.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Not your usual password question!

Andy,

Each of your workbook opening macros should have code like

Workbooks.Open Filename:= _
"C:\Documents and Settings\Excel\Filename.xls"

Change that code to this if you know the password:

Workbooks.Open Filename:= _
"C:\Documents and Settings\Excel\Filename.xls", Password:="test"

Or, if you have a lookup table, something like

Dim myPW As String

myPW = Application.Vlookup("Filename",Range("PWLookup"),2 ,False)
Workbooks.Open Filename:= _
"C:\Documents and Settings\Excel\Filename.xls", Password:=myPW

HTH,
Bernie
MS Excel MVP


"Andy" wrote in message
...
Thanks Bernie, Dont surpose you have some coding that may assist with this?
One the Main page it auto opens a command bar that allows you to select the
page you want. once a button is clicked it opens the file it is being asked
for. Is it possible to have a macro copy and paste a password from a hidden
sheet into the open password box which asked for a password when a file is
opened. For example, i click on button 1, the program then asks for the
password to open and the password for read only and have the password pasted
in before it then deletes the password so it cant be pasted into a cell and
view.

Regards,

Andrew

"Bernie Deitrick" wrote:

Andy,

You could use macros stored in Main.xls to open the files - maybe a sheet
with buttons, or a commandbar. How you do that depends on what the
passwords are - probably the easiest is to have a hidden sheet with a lookup
table that you can read from the macros.

HTH,
Bernie
MS Excel MVP



"Andy" wrote in message
...
Hello Everyone.

I need some help. I will explain the situation first and then the
question.

I have a folder. In this folder i have 14 Excel 2003 files. One is the
controler called Main.XLS. So this automatically opens when windows loads.
To
open it fully a password is needed. Enter the password and you can access,
via links, to the other 13 Excel files and back again to the Main file.

The question....Is it possible to password protect the other 13 files so
that if they are opened directly from the folder they are in, you have to
enter a password, however, if you use the Main xls file, you dont need to
input a password as access has already been granted. Because of the system
i
have created, i need quick access once the password is entered into the
Main
xls file, without being asked for a password every time i go into one of
the
other 13 files. But still have security so that if they are opened
indivually
users are asked for a password! i hope this makes sence. I have had to
break
the Main file down. I have everything in one work book with over 400
sheets
and the system was unbelievably slow.

Any help or VBA code would be great to help me solve this.

Regards


.



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
VBA Password Question Danny Excel Worksheet Functions 0 September 5th 07 05:00 PM
Wrapped Text Not Visible - Usual solutions don't work mbrambley Excel Discussion (Misc queries) 8 December 9th 06 02:57 AM
Help with an usual graph Sally Excel Discussion (Misc queries) 1 July 20th 06 02:15 PM
how do I unhide Excel 2003 spreadsheet rows with usual method. Sandy Excel Discussion (Misc queries) 2 July 13th 05 09:30 PM
Page Break View - not the usual question Rose Excel Discussion (Misc queries) 0 March 2nd 05 03:25 PM


All times are GMT +1. The time now is 05:12 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"