Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-11-2014, 12:58 PM
Charles Kenyon Charles Kenyon is offline Disabling Word's Save and SaveAs commands Windows 7 64bit Disabling Word's Save and SaveAs commands Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,533
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Why
MsgBox ("Document not saved")
rather than
MsgBox "Document not saved"
?

You are certainly going to get an error if one or more of your content controls does not exist.



I do not know what you mean by "the dlgbox needs no open from a specific path." Have the path for saving be a specific path?

The string concatenation looks fine.

Other than that, I would need a bit more documentation. I do not know what the -1 value for .show indicates or why you are testing for it.


You could always have your dialog box get the values from the content controls and if they are empty require input (and then save the input to those controls).
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling Word's Save and SaveAs commands When I try to save an existing word doc, save as pops up and will not save... samanthab Word 3 01-19-2013 06:27 AM
Disabling Word's Save and SaveAs commands Saveas error handling jillapass Word VBA 7 03-30-2012 03:24 PM
Keyboard Commands korric Word 3 02-09-2012 12:52 AM
Disabling Word's Save and SaveAs commands saveAs ChDir _ tinfanide Excel Programming 4 11-05-2011 01:40 AM
Advance Commands Richard1 Word 0 02-10-2011 01:35 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:11 AM.


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