johnnymagee
Programmer
Trying to open a workbook reserved with a password. I've never had problems with this before but for this particular book, the password dialog appears even though it is included in the code.
Dim oXL as excel.application
Dim owbk as workbook
set oXL = new excel.application
set owbk = oXL.workbooks.open("S:\BOOK.XLS",Readonly:=false,Password:="Stuff")
This is annoying because if I dont have the active workbook running this macro minimised, even the dialog doesn't appear and I get a warning that "Excel is waiting for an OLE application" and I have to cancel everything.
Dim oXL as excel.application
Dim owbk as workbook
set oXL = new excel.application
set owbk = oXL.workbooks.open("S:\BOOK.XLS",Readonly:=false,Password:="Stuff")
This is annoying because if I dont have the active workbook running this macro minimised, even the dialog doesn't appear and I get a warning that "Excel is waiting for an OLE application" and I have to cancel everything.