My Excel file blocks other Excels files from opening.
I have the below code
Public Sub Workbook_Open()
Application.OnTime Now + TimeValue("00:00:03"), "CommonWorkBook.prepareSheets"
End Sub
In PrepareSheets Macro, I take data from a txt file every 60 seconds.
The code is as follows
Do While 1 = 1
' Do Something
pause 60
Loop
After opening my .xlsm file, I am unable to open other .xlsm files.
If I close my .xlsm file, other files gets opened.