Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Vj Vj is offline
external usenet poster
 
Posts: 54
Default Open Locked/Protected workbook using vba

Hi,

Is there anyway to open a locked or protect workbook through another
workbook using VBA macro?

Thanks and regards,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Open Locked/Protected workbook using vba

You could provide the password in the workbooks.open statement. Do you know it?

Look at VBA's help for more info.

VJ wrote:

Hi,

Is there anyway to open a locked or protect workbook through another
workbook using VBA macro?

Thanks and regards,


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Open Locked/Protected workbook using vba

Workbooks.Open filename:=<filename, password:=<password



"VJ" wrote in message
...
Hi,

Is there anyway to open a locked or protect workbook through another
workbook using VBA macro?

Thanks and 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
1004 Cell Protected Error for data validation lists when locked and protected [email protected] Excel Programming 2 November 7th 06 10:07 AM
Open A Locked Workbook cal_yeo Excel Worksheet Functions 5 July 4th 05 03:33 PM
Open workbook that is protected with password ianripping[_67_] Excel Programming 2 June 1st 04 11:48 AM
Open password protected workbook. Tom Excel Programming 3 April 16th 04 03:43 PM
Open a password protected excel workbook from second workbook to fetch data using dynamic connection kaustav choudhury Excel Programming 2 April 3rd 04 06:18 AM


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