if you want to have an interactive form in Excel, you will need to make some kind of conclusion, as Hans said in the original answer. see this link on MSDN
This example is for the refedit control (which is usually only available from VBA). In this example, you need to provide the necessary information about IWin32Window and pinvoking to call the Show method of the form object with this parameter value.
source share