alam747
asked on
How to open a password protected file
Hi Exparts,
I have a excel file to create reports from different sheets of the excel workbook and some infromation from an external worksheet.
But the external worksheet is password protected therefore, each time excel refresh data in every 20 miniutes try to open the extarnal excel sheet every its stop there to choose as read only. Is there any way to bypass this message while open the external excel worksheet.
I wrote as below but still stopped "Enter password for write access,or open read only"
Set wb_Source = xl.Workbooks.Open(FileName , IgnoreReadOnlyRecommended: =True)
Please advise how bypass this message while opening password protected worbook to get some information.
Thanks
I have a excel file to create reports from different sheets of the excel workbook and some infromation from an external worksheet.
But the external worksheet is password protected therefore, each time excel refresh data in every 20 miniutes try to open the extarnal excel sheet every its stop there to choose as read only. Is there any way to bypass this message while open the external excel worksheet.
I wrote as below but still stopped "Enter password for write access,or open read only"
Set wb_Source = xl.Workbooks.Open(FileName
Please advise how bypass this message while opening password protected worbook to get some information.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks, alam747.
ASKER