[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Disable Save/Save As...  ? (VBA)

Posted on 2004-10-29
1
Medium Priority
?
1,535 Views
Last Modified: 2012-05-05
Hi everyone,

Is there a way to disable the Save & Save As... commands in Word/Excel/etc on a per document basis (macro/VBA)?

We have a problem with people who open a shared file to edit, then leave it open so no one else can edit it. Right now, most people go ahead save their own version locally, then they all email their local versions to someone to compare and merge.

The suggested solution we would like to try is that if a document is opened as read-only, then the Save and Save As... features are disabled, forcing the user to come back later and update the single shared file.

I know this may pose problems of it's own, but it's something we're at least willing to try, if possible.

Thanks in advance,
chris
0
Comment
Question by:pillbug22
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
Jupiler78 earned 500 total points
ID: 12444107
Hi pillbug22,

disable the buttons with retreiving the commandbar with .CommandBars("File")
then disable the 2 buttons. Teh nyou have to create a local hook to prevent CTRL+S etc.

Cheers!

jupiler78
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question