Here want code to detach document action pane. Workbook newWb = (fileName, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing) XlApp.AutomationSecurity = .msoAutomationSecurityForceDisable ![]() I have an Excel file (refer image) and I wish to remove(detach) document action pane using inter op programming in c#. Once the excel is saved and opening it again will have previously stored excel document. We can attach document action pane to any excel file using Developer-> expansion pack-> Microsoft action pane -> attach. I have added a user control into an Excel Actions Pane.
0 Comments
Leave a Reply. |