Godders199
Active Member
- Joined
- Mar 2, 2017
- Messages
- 313
- Office Version
- 2013
I use the following code to open a workbook to pull information, this workbook as been password protected .So I need to alter the code to include the password.
Range("A85").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
I have searched the internet, but cannot find any examplesof opening a password protected workbook with a hyperlink .
I have tried the obvious, adding ,Password:=”” to the end
Does anyone know the code I need to insert for thepassword.?
Any help appreciated.
Range("A85").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
I have searched the internet, but cannot find any examplesof opening a password protected workbook with a hyperlink .
I have tried the obvious, adding ,Password:=”” to the end
Does anyone know the code I need to insert for thepassword.?
Any help appreciated.