Warning message

BarnBrian

Board Regular
Joined
Oct 2, 2005
Messages
109
I want to have a warning message appear when a particular cell function result is a specific number, probably very simple to achieve.
 
Hi Brian
For macro protection, do the following.
In the Project window of your code ( Top left hand side), right click on Microsoft Excel Objects, Select VBA Object Properties and then click on the protection Tab.
Tick the Lock Project Box and then input a password and confirm.

A word of warning though, this is a simple security system and easy to break, if one so wishes.
The other problem is that, if the user gets an error while using the macro the protection leaves them no option to Debug the problem. If your not available to help out, the user is stuck !!

HTH
Michael M
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
With the VBA IDE open (Alt-F11)

Goto Tools>VBAProject Properties...
You will see a "Protection" Tab
Click on the tab and enter a password for your project.

HTH,
Chad
 
Upvote 0

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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