LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Passwords on files used in calculation

Here's the situation - user has 15+ files that have unique passwords. They
also have one main file that they use to sum up the individual files.

When they open the main file it asks for the password for every file used in
the calc's. They want to avoid that.

My thought was to set up code to open all the individual files, using the
passwords, when the main file is opened. But my initial testing is showing
that the main file wants to update the linked info (the calc's) before it
runs the code in the Workbook_Open event.

Is there a better way to do this?

If not, can someone help me with the code. I have this in the Workbook_Open
sub of the main file and it gives me an Object Required error:

Private Sub Workbook_Open()
Dim wbk As Workbook

Set wbk =
Workbook.Open(Filename:="M:\XLDATA\Herb\Testing\Te st1\test1.xls",
password:="test1")

End Sub

Thanks!!

Lauri
 
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
I need to remove passwords from a list of files. Conan Kelly Excel Programming 4 November 17th 05 05:47 PM
suppressing passwords to edit linked files tjtjjtjt Excel Programming 2 September 14th 05 01:44 AM
updateLink; files with passwords , VBA help! tp Excel Programming 2 July 13th 05 09:14 AM
How to save Excel files which have passwords Android Excel Programming 1 October 4th 03 08:59 AM
How to save Excel files which have passwords Android Excel Programming 0 September 26th 03 02:39 PM


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