Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi there! i am having trouble coming up with a method to disabling or removing the save as function in the File menu command. Basically i do not want users to copy the file to any locations except the approved ones. thanks a lot :) -- rbeatson2002 ------------------------------------------------------------------------ rbeatson2002's Profile: http://www.excelforum.com/member.php...o&userid=34554 View this thread: http://www.excelforum.com/showthread...hreadid=543180 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you don't already have an 'AutoExec' macro then create a new one and add
the following line, or of course just add it to your existing AutoExec macro if you have one. commandbars(''Worksheet Menu Bar'').Controls(''Window'').Controls("Save As...").Enabled=False You will of course need to re-activate it when you exit your worksheet. HTH Neil www.nwarwick.co.uk "rbeatson2002" wrote: Hi there! i am having trouble coming up with a method to disabling or removing the save as function in the File menu command. Basically i do not want users to copy the file to any locations except the approved ones. thanks a lot :) -- rbeatson2002 ------------------------------------------------------------------------ rbeatson2002's Profile: http://www.excelforum.com/member.php...o&userid=34554 View this thread: http://www.excelforum.com/showthread...hreadid=543180 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does this do what you need ?
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) If SaveAsUI = True Then MsgBox "No SaveAs" Cancel = True End If End Sub NickHK "rbeatson2002" wrote in message news:rbeatson2002.27zmrm_1147929901.5639@excelforu m-nospam.com... Hi there! i am having trouble coming up with a method to disabling or removing the save as function in the File menu command. Basically i do not want users to copy the file to any locations except the approved ones. thanks a lot :) -- rbeatson2002 ------------------------------------------------------------------------ rbeatson2002's Profile: http://www.excelforum.com/member.php...o&userid=34554 View this thread: http://www.excelforum.com/showthread...hreadid=543180 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks Nick and Neal this helped heaps!!! -- rbeatson2002 ------------------------------------------------------------------------ rbeatson2002's Profile: http://www.excelforum.com/member.php...o&userid=34554 View this thread: http://www.excelforum.com/showthread...hreadid=543180 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disabling SaveAs and Save? | Excel Discussion (Misc queries) | |||
Disabling Excel VBA Pop-ups... | Excel Programming | |||
Disabling Saveas and saving file with a specific name only | Excel Programming | |||
Disabling Alt+F11 | Excel Programming | |||
Disabling Events | Excel Programming |