Hale, Jim
Jim.Hale at FleetPride.com
Mon Jul 2 08:43:24 CDT 2007
I think this may be the syntax you are looking for. appExcel.Sheets("instruc").Unprotect Password:=strPW HTH Jim hale -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Monday, July 02, 2007 8:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Open Protected Excel via VBA Good Morning to the list, Could someone provide me with a least a jump start on some code to open some sheets in excel that have been protected with a password? I have the password. Best, Bob Heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.