View Single Post
 
Old 05-08-2014, 05:21 PM
steveneashcraft steveneashcraft is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: May 2014
Posts: 8
steveneashcraft is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
See attached. As I don't have VB6, I'm running the code as an ordinary macro from within the document itself. I've modified the code to save the file to the desktop. The macro is in the 'ThisDocument' module.
The file you sent me was not internally an rtf file. It did have an rtf suffix but if you examine the contents using a tool that shows you the binary contents of the file you will see that it is not an rtf file. It looks like a doc or a docx file and consequently your test worked. My program works if you start with a file that has doc or docx format internally and try to save it as a doc file. The problem is that if you open a real rtf file and then try to save it as a doc file you cannot suppress the Save dialog.

It appears that you are confused about internal formats and the suffix that a file has. A file with a suffix of rtf does not mean that the internal contents are rtf.
Reply With Quote