Hi,
i try to use a ribbon to enter a new activation key and replace the existing one.
my problem is the focus.
i want to close myapp and have the focus on the register program.
is this possible?
Thanks.
i try to use a ribbon to enter a new activation key and replace the existing one.
Code:
Sub newkey(control As IRibbonControl)
Dim RetVal
RetVal = Shell(PathToFile("myapp.exe -enterkey"), 2)
Application.Quit
AppActivate ThisWorkbook.Windows(1).Caption
End Sub
i want to close myapp and have the focus on the register program.
is this possible?
Thanks.