I am trying to fetch CR(change request) status from PTC(MKS) using "im exportissues 123456" query in VBA. but it does open status sheet(A new excel sheet which opens up by query) unless my code ends. below is the snippet of my code.
Sub Query_CR_Status()
shell_output = Shell("im exportissues 123456", 1) 'this should open up a new excel sheet containing CRs)
Application.Wait (Now + TimeValue("0:00:20")) 'waiting 20sec
'here: My code which will read information from the above generated excel sheet
End Sub
But My problem here is the new excel sheet donot open unless it reaches to "End Sub"