Alt + F8 - Security issue

gmazza76

Well-known Member
Joined
Mar 19, 2011
Messages
771
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon All,

I have a lot of VB in a spreadsheet that is locked to stop people adding / removing the programming.

As i am using Hide / Reveal on some sheet is can be run using ALT + F8 if people know how to do it.

Is there anyway i can stop the info showing in ALT + F8 or a way of locking it being used?

Many Thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
you can change your macros (or modules) to Private and it won't show up in that list, but they'll still be able to explicitly call the macro if they know the macro's full name.

For instance copy both of these in to a new module:

Code:
Sub foo()
MsgBox "This is in the alt+F8 list"
End Sub

Private Sub foo2()
MsgBox "This isn't the alt+F8 list"
End Sub

and press alt+F8
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,584
Messages
6,179,687
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top