Protection of cells & Limits to scrolling.

joeq

Board Regular
Joined
May 31, 2003
Messages
109
Hi again.

Thanks so much for the SUMPRODUCT help. Perfecto!

I have a workbook where every cell of every tab is enterable.

I need a way to simply (ha) protect every cell that currently has a formula so the user doesn't accidently remove it.

On a (sort of) related note.... how do you prevent a user from scrolling into lets say 'off limit' :oops: areas. I currently have totals, and sources for drop down list at the bottom and sides of some worksheet that I don't want the user to ever be able to scroll to.

Thanks a mil.

Joe
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi,
To set the scroll area : from HELP File:
ScrollArea Property
See AlsoApplies ToExampleSpecificsReturns or sets the range where scrolling is allowed, as an A1-style range reference. Cells outside the scroll area cannot be selected. Read/write String.

Remarks
Set this property to the empty string ("") to enable cell selection for the entire sheet.

Example
This example sets the scroll area for worksheet one.

Worksheets(1).ScrollArea = "a1:f10"

To protect your cells with formulas, select all cells and then through Format>Cells>Protection Tab, Un check Locked. Now select those cells with formula and again through Format>Cells>Protection> Check the Protection box and then Password protect your worksheet.
HTH
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,530
Members
448,969
Latest member
mirek8991

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