c# - What are the arguments of Dialogs[XlBuiltInDialog.xlDialogPasteSpecial].Show -
vsto excel's pastespecial dialog takes 30 args. i've tried looking everywhere can not find each argument stands for.
i trying set defaults pastespecial when dialogue pops up. (c# vsto2007)
bool ispaste = globals.thisaddin.application.dialogs[xlbuiltindialog.xldialogpastespecial].show ( 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, 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, type.missing, type.missing);
according msdn page, there 4 arguments:
paste_num, operation_num, skip_blanks , transpose
so example, show dialog transpose checked:
bool ispaste = globals.thisaddin.application.dialogs[xlbuiltindialog.xldialogpastespecial].show (type.missing, type.missing, type.missing, true ...
i believe other 26 arguments placeholders, , dialog chose indicate 30 arguments.