Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

How to select a directory instead of a file in a Save As dialog in VSTO?

$
0
0

I am creating an Excel Add-In with VSTO and C#, and I would like to set the directory where the Add-In resulting files are saved (their filenames are programmatically generated).

I tried using SaveFileDialog saveDlg = new SaveFileDialog(); in my C# file but the Save File As Dialog didn't enable me to select a directory…

Could you help me with the properties of saveDlg that I must set?

Thank you?


Viewing all articles
Browse latest Browse all 88066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>