What is the correct code to open a password protected/read-only spreadsheet? This is what I currently have:
Set oWrkBook = oExcel.Workbooks.Open (FileLoc, password:="purple", IgnoreReadOnlyRecommended) Thanks!
This is what I ended up doing.
Set oWrkBook = oExcel.Workbooks.Open (FileLoc, 3, , , "purple" ,"purple",True)
Thanks for your help!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.