Protecting Worksheets

*Emma*

New Member
Joined
Dec 5, 2005
Messages
3
Hi, Im new around these parts and can usually find my answer by just browsing through everyone elses questions but ive become a little stuck.

I'm doing estimates for the company i work for, when these are complete i forward them to the prospective customers, i have been doing this and hiding the cost information as we dont want any competitors getting wind of how we work out our prices.... so ive been protecting the worksheet, which we have all found works fine.

Until this morning where it has become apparent that if i copy the sheet and paste it into a new book you can unhide the columns without having to unprotect and enter a password...

is there a way i can get around this ?

I dont understand all this code stuff either so if thats what i need please explain where im to put it. :confused:
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Copy values

Hi Emma,

once you've hidden the sensitive data, select the cells of the sheet, and then do Menu Command Edit/Goto/Special/Visible cells only, and then do Edit/Copy.

In a new workbook, do Edit/PasteSpecial/Values. You may also want to Edit/PasteSpecial/Formats too, to copy over any cell formatting.

This will remove the sensitive information.
 
Upvote 0
Using Code brings it's own problems - If Macro's are disabled the code becomes useless.

If you want to keep formula's, I would suggest rather than hiding columns within a sheet:

Link to a worksheet within the workbook.

You can then hide the worksheet and protect the workbook itself.
 
Upvote 0
Hi, Thanks for your replies.

Ive created a new sheet with everything on it that i want the customer to see, ive then copied the values and formats over and all works fine, however im finding i have to copy the values and formats over every time i do a new quote for someone and also if i change something on that sheet the change doesnt automatically go over to the customers review page, is there anyway this can be done?
 
Upvote 0
Do macro record of the process, and run that recorded macro when you want a new quote. If you need to tweak the code, then post another query on here.
 
Upvote 0
another suggestion....

create a sheet with all your calculations etc...eg called result

have another sheet called customer and use lookup to show the net prices etc without showing how you calculated them..

press F11 and click on very hidden with your worksheet called result and protect this..

that way the customer will only see their prices and cant unhide any sheet....you however can unhide the sheet and update as required

hope this make sense..
chef
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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