Heya,
Does anyone know how to change instead of prompting to save the file as to just save it without prompt to a location that is set in "ThisFile"?
Code I have now:
Code for ThisFile:
So in other words in needs to just save file to xmlPath instead of promtimg eith .GetSaveAsFilename
Chers!
Does anyone know how to change instead of prompting to save the file as to just save it without prompt to a location that is set in "ThisFile"?
Code I have now:
Code:
FileName = Application.GetSaveAsFilename(InitialFileName:=ThisFile, filefilter:="XML (*.xml),*.xml")
Code for ThisFile:
Code:
ThisFile = xmlPath & Worksheets("XML").Name & "_" & Format(Date1, "ddmmyyyy-hhmmss") & ".xml"
So in other words in needs to just save file to xmlPath instead of promtimg eith .GetSaveAsFilename
Chers!