i am creating xml file in excel using macros but the code asks user to save......
Filename = Application.GetSaveAsFilename( _
InitialFileName:="myrange.xml", _
fileFilter:="XML Files(*.xml), *.xml")
but i want to save it at default path and attach to mail....
*the dialog box to save file should not be shown to user*
Filename = Application.GetSaveAsFilename( _
InitialFileName:="myrange.xml", _
fileFilter:="XML Files(*.xml), *.xml")
but i want to save it at default path and attach to mail....
*the dialog box to save file should not be shown to user*