SAVE AS menu option

  • Thread starter Thread starter Mircea Pleteriu
  • Start date Start date
M

Mircea Pleteriu

Hi,

How to disable the File's Save As menu option?

Thanks,
Mircea
 
That would disable any possibility for users to save their work
under different names.

If you want to prevent users saving a particular workbook
under another name then write an eventhandler for that workbook.

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
If SaveAsUI Then
MsgBox "That's a nono"
Cancel = True
End If
End Sub




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Mircea Pleteriu wrote :
 
his.excelApp.CommandBars["File"].Controls[<NUMBER>].Enabled = false;

I know that each control (menu option) has a number assign to it.
Where from can I get this map?
 
see response to other post. But KeepItCool's warning is a good one, you
should take note.

--

HTH

RP
(remove nothere from the email address if mailing direct)


Mircea Pleteriu said:
his.excelApp.CommandBars["File"].Controls[<NUMBER>].Enabled = false;

I know that each control (menu option) has a number assign to it.
Where from can I get this map?

Mircea Pleteriu said:
Hi,

How to disable the File's Save As menu option?

Thanks,
Mircea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top