Hi.
You can trigger new defect dialog window like this:
Sub DialogBox(DialogBoxName, IsOpen) 'Use ActiveModule and ActiveDialogName to get 'the current context. On Error Resume Next select case DialogBoxName Case "Linked Defects" Case "Req Details" Case "Select New Req Type" Case "Test Instance Details" Case "Steps" Case "Bug Details" case "New Bug" if IsOpen = TRUE then 'enter your code end if end select On Error GoTo 0 End Sub
Br, Tomas
[If my advice solves your issue or query, please mark the thread as solved. Clicking on KUDOS star is the best way how to say thank you.]