Try commenting out all the code between OpenFile and CloseFile to see if it's this which is causing the hang. If so, you could add the file to an area rather than using OpenFile, to see if that helps.
Hi Bror-Erik,
Thanks for your reply.
We've done further testing and we've discovered that it is only my Windows 11 laptop that has this message about downloading components. Other coll...