Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Macro for Retrieving data from closed workbook with date in title

I've been able to get info regarding retrieving data from a closed workbook
using info from several of these threads but I've not had success retrieving
data from the most recent workbook located on my Project shared drive. The
closed workbook is password protected and has a date in its name.
(ie..//nnsrv045/LHD/Sched/Current/Event Listing 08-Apr-2008). I would like
to be able to retrieve data from the closed workbook column b and write it to
the active workbook to column j and retrieve data from the closed workbook
column e and write it to the active workbook current sheet column k. The
number of rows will vary in the closed workbook. Any help at all would be
greatly appreciated.
--
By persisting in your path, though you forfeit the little, you gain the
great.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 171
Default Macro for Retrieving data from closed workbook with date in title

Just read something on the MS website...

http://support.microsoft.com/kb/257819

"You cannot open a password-protected Excel file as a data source."


"You Cannot Open a Password-Protected Workbook"

"If the Excel workbook is protected by a password, you cannot open it for
data access, even by supplying the correct password with your connection
settings, unless the workbook file is already open in the Microsoft Excel
application. If you try, you receive the following error message:
Could not decrypt file.
For additional information, click the article number below to view the
article in the Microsoft Knowledge Base:
211378 (http://support.microsoft.com/kb/211378/EN-US/) XL2000: "Could Not
Decrypt File" Error with Password Protected File "



Mark Ivey


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Macro for Retrieving data from closed workbook with date in ti

Thanks Mark for replying. I'll read about this subject.
--
By persisting in your path, though you forfeit the little, you gain the
great.



"Mark Ivey" wrote:

Just read something on the MS website...

http://support.microsoft.com/kb/257819

"You cannot open a password-protected Excel file as a data source."


"You Cannot Open a Password-Protected Workbook"

"If the Excel workbook is protected by a password, you cannot open it for
data access, even by supplying the correct password with your connection
settings, unless the workbook file is already open in the Microsoft Excel
application. If you try, you receive the following error message:
Could not decrypt file.
For additional information, click the article number below to view the
article in the Microsoft Knowledge Base:
211378 (http://support.microsoft.com/kb/211378/EN-US/) XL2000: "Could Not
Decrypt File" Error with Password Protected File "



Mark Ivey


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
Searching/Retrieving Data from another Workbook Jay Excel Programming 6 February 28th 08 08:13 PM
Error retrieving data from closed workbook Add Excel Programming 4 December 26th 07 03:59 AM
Retrieving cell formatting from closed workbook paulharvey Excel Programming 1 July 15th 05 02:55 PM
Retrieving cell formatting from closed workbook Paul Harvey Excel Programming 0 July 14th 05 09:48 PM


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