Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default SAVE AS menu option

Hi,

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

Thanks,
Mircea


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default SAVE AS menu option


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 :

Hi,

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

Thanks,
Mircea

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default SAVE AS menu option

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" wrote in message
...
Hi,

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

Thanks,
Mircea




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default SAVE AS menu option

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" wrote in message
...
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" wrote in message
...
Hi,

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

Thanks,
Mircea






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Option Menu doesn't Display [email protected] Excel Discussion (Misc queries) 1 November 22nd 07 12:36 PM
SAVE and SAVE AS options disappeared from the drop down FILE menu [email protected] Excel Discussion (Misc queries) 2 July 12th 07 09:14 AM
get xml option in data menu sach Excel Discussion (Misc queries) 0 October 12th 05 12:51 PM
add option to drop down menu Vic Excel Discussion (Misc queries) 1 February 18th 05 08:29 PM
Save & Save As features in file menu of Excel Blue Excel Discussion (Misc queries) 9 December 27th 04 08:49 PM


All times are GMT +1. The time now is 03:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"