PDA

View Full Version : How do you set the default SaveAs format for a Word file?



avi10000
01-01-2013, 03:53 AM
Hi all,

Question: How do you set the default SaveAs format for a Word file?

Background: I am sometimes getting a peculiar side-effect from programming with the SaveAs() method: when I do a regular user Save (using Ctrl-S) , Word sometimes warns me that I am trying saving to RTF format, for example , and that that format will not hold my macros.

So maybe that happens coz at some point -- or most recently -- I use the RTF format to test the ActiveDocument.SaveAs method. So it seems to remember that, which is unwanted by me.

TIA


-avraham

avi10000
01-01-2013, 04:55 AM
This may do it:

Application.DefaultSaveFormat


-me :hi:



Hi all,

Question: How do you set the default SaveAs format for a Word file?

Background: I am sometimes getting a peculiar side-effect from programming with the SaveAs() method: when I do a regular user Save (using Ctrl-S) , Word sometimes warns me that I am trying saving to RTF format, for example , and that that format will not hold my macros.

So maybe that happens coz at some point -- or most recently -- I use the RTF format to test the ActiveDocument.SaveAs method. So it seems to remember that, which is unwanted by me.

TIA


-avraham