I am exporting a form to an htm file but it keeps prompting me "Do you want to replace the existing file?" . I need to automate this by auto selecting yes.
Public Sub Export()
DoCmd.OutputTo acOutputForm, "Node Summery: Today Subform (By Time)", acFormatHTML, "c:\aftp\quicksum.htm", False, "c:\template.htm"
Above is the code I used to export. Like I said, I need to automate this but cannot seem to figure out how to disable the replace prompt or auto select yes on it.
Any help would be appreciated.
Public Sub Export()
DoCmd.OutputTo acOutputForm, "Node Summery: Today Subform (By Time)", acFormatHTML, "c:\aftp\quicksum.htm", False, "c:\template.htm"
Above is the code I used to export. Like I said, I need to automate this but cannot seem to figure out how to disable the replace prompt or auto select yes on it.
Any help would be appreciated.