Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 05-08-2014, 05:21 PM
steveneashcraft steveneashcraft is offline How to suppress saveas dialog from VB6 Windows 7 64bit How to suppress saveas dialog from VB6 Office 2010 64bit
Novice
How to suppress saveas dialog from VB6
 
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
 

Tags
save as, suppress



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
How to suppress saveas dialog from VB6 Saveas error handling jillapass Word VBA 7 03-30-2012 03:24 PM
How to suppress saveas dialog from VB6 saveAs ChDir _ tinfanide Excel Programming 4 11-05-2011 01:40 AM
Suppress Dialog Box crutch024 Word 0 08-17-2010 09:52 AM
How to suppress saveas dialog from VB6 Suppress "do you want to save?" dialog on close rnstewart Excel 2 12-28-2005 04:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:38 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft