![]() |
|
|
|
#1
|
|||
|
|||
|
Quote:
Apparently it isn't Try this code snippet using cscript and then we will be comparing apples to apples. I have used both Windows 7 (32 bit) , Windows 2008 R2, and XP to demonstrate that the Save dialog always comes up with Word 2010 or Word 1013. I realize this is not strictly a Word question but it does have to do with the Word object. Dim WW Dim FileName Dim SaveFormat FileName = "C:\tmp\sample.rtf" SaveFormat = 0 Set WW = CreateObject("Word.Application") WW.Visible = True WW.Documents.Open FileName call WW.activedocument.SaveAs (FileName, SaveFormat) WW.activedocument.Close False where c:\tmp\sample.rtf is internally an rtf file. The last sample.rtf file you sent me was internally an rtf file. Thanks again. |
|
| Tags |
| save as, suppress |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabling Word's Save and SaveAs commands | Catty | Word VBA | 6 | 03-19-2014 03:21 AM |
Saveas error handling
|
jillapass | Word VBA | 7 | 03-30-2012 03:24 PM |
saveAs ChDir _
|
tinfanide | Excel Programming | 4 | 11-05-2011 01:40 AM |
| Suppress Dialog Box | crutch024 | Word | 0 | 08-17-2010 09:52 AM |
Suppress "do you want to save?" dialog on close
|
rnstewart | Excel | 2 | 12-28-2005 04:30 PM |