How to create a simple customtaskpane using Delphi without add-in express and add customtaskpane to excel.
Taskpane will have 1 button(close )
procedure TMyAddin.OnConnection(const Application: IDispatch; ConnectMode: ext_ConnectMode; const AddInInst: IDispatch; var custom: PSafeArray);
var FApp:ExcelApplication;
CTP:TCustomTaskPane;
begin
...
CTP:=TCustomTaskPane.Create(Self);
//?
CTP.Visible:=True;
end;
using XE7,office2010.pas,excel2010.pas
Managed to do it myself. For anyone who have same issue, posting solution here