Assuming that use of
onjExcel
is just a typo here and not in your code, it's likely that Excel is showing some sort of dialog box or message.
Put a breakpoint on
Set xlWB = objExcel.Workbooks.open(xl)
and switch to the Excel application and have a look.
You may possibly have Excel open already for something else - try closing those instances if so.
Sometimes rebooting can help - or use Task Manager to ensure that all instances of Excel are indeed cleared from memory before trying to run your program again.
See also this
Microsoft support article[
^]