How Can I judge xmlData or xmlSpreadSheet in Office 2016? RRS feed

  • Question

  • Hello,

    I make VSTO Excel AddIn.

    I have to use  Office.FileDialog[Office.MsoFileDialogType.msoFileDialogSaveAs] 

    because I want to check where they going to save documents.

    So, I check extension and change method depending on extension.

    But xmlData and xmlSpreadSheet are same extension each other.

    This Addin used in several countries. I don't want to use Office.FileDialogFilter.Description.

    If filter order is same regardless of the language, I will change method depending on filter index.



    Thursday, August 6, 2020 1:02 AM