Question: I have a Word macro that has been working fine for ages. I have recently upgraded to Word 2013 and the behavior has changed.

It occurs on the following line:

```
        Doc.SaveAs Path + "Manual\" + TitleString + ".htm", wdFormatFilteredHTML

```

which builds a valid file path and name and saves the current document as an HTML page.

Under Word 2013, the macro opens a file save dialog box with no filename and with the default file extension (.docx) instead of (.htm), as if the filtered HTML mode was no more available.

I have tried with named arguments, and also with the new SaveAs2 method, but saw no change.

How can I solve this ?

Answer: 
You may also want to try this:

* Options
	+ Text
		- Editor
			* HTML
				+ Advanced
					- Format on paste: **False**
					- Enable validation: **False**
Try
Tools -> Options -> Text Editor -> Html -> Advanced 
then set "XHTML coding style" false
and set "Format on paste" false