Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Password Protection

Try something like

XL.Workbooks.Open Filename:="C:\temp\test.xls",
Password:="thePassword"

where XL is your reference to the Excel Application object.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Gary Cobden" wrote in message
om...
I need to open and manipulate password protected Excel
Spreadsheets
from within MS Access

Is it possible to do this programatically, or will the
spreadsheet
always open - like my routine does at present - with the
password
prompt?

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
Password protection in macro ( Anybody can view my password in VB Sherees Excel Discussion (Misc queries) 2 January 24th 10 10:05 PM
Excel Data Protection- AKA: Sheet/Macro Password Protection Mushman(Woof!) Setting up and Configuration of Excel 0 December 29th 09 06:50 AM
Password protection [email protected] Excel Discussion (Misc queries) 5 February 19th 08 05:13 AM
Password Protection Dave123 Excel Discussion (Misc queries) 2 October 4th 05 11:13 AM
password protection bruce forster Excel Programming 1 May 13th 04 05:32 PM


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