I have created Excel add in project in c# (.net 2010). My project saves excel file to sharepoint.I have used
Office.FileDialog fDialog = Application.get_FileDialog(Office.MsoFileDialogType.msoFileDialogSaveAs)
I have set fDialog.InitialFileName
to sharepoint URL. But some time save as dialog pointing to the local drive instead of pointing to sharepoint.