ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   protecting formulas (https://www.excelbanter.com/excel-programming/309370-protecting-formulas.html)

Reniek

protecting formulas
 
I would like to block somehow a part of cells in a sheet. For example, there
is a formula inside and I do not want anybody to delete it. Do you know some
solutions?Thanks




Frank Kabel

protecting formulas
 
Hi
- select all cells for which you want allow changes
- goto 'Format - Cells - Protection' and uncheck 'Locked'
- now goto 'Tools - Protection' and protect your sheet

--
Regards
Frank Kabel
Frankfurt, Germany


Reniek wrote:
I would like to block somehow a part of cells in a sheet. For
example, there is a formula inside and I do not want anybody to
delete it. Do you know some solutions?Thanks


Reniek

protecting formulas
 
Thank you very much your advice. However the problem is that if any action
is taken after this, a message is displayed and running macro is stopped. I
am looking for a solution which does not stop a running procedure.
Do you know sth? Many thanks in advance.

Uzytkownik "Frank Kabel" napisal w wiadomosci
...
Hi
- select all cells for which you want allow changes
- goto 'Format - Cells - Protection' and uncheck 'Locked'
- now goto 'Tools - Protection' and protect your sheet

--
Regards
Frank Kabel
Frankfurt, Germany


Reniek wrote:
I would like to block somehow a part of cells in a sheet. For
example, there is a formula inside and I do not want anybody to
delete it. Do you know some solutions?Thanks




Frank Kabel

protecting formulas
 
Hi
this depeneds on you macro. As workaround unprotect the sheet within
your macro and protect it again at the end

--
Regards
Frank Kabel
Frankfurt, Germany


Reniek wrote:
Thank you very much your advice. However the problem is that if any
action is taken after this, a message is displayed and running macro
is stopped. I am looking for a solution which does not stop a running
procedure.
Do you know sth? Many thanks in advance.

Uzytkownik "Frank Kabel" napisal w

wiadomosci
...
Hi
- select all cells for which you want allow changes
- goto 'Format - Cells - Protection' and uncheck 'Locked'
- now goto 'Tools - Protection' and protect your sheet

--
Regards
Frank Kabel
Frankfurt, Germany


Reniek wrote:
I would like to block somehow a part of cells in a sheet. For
example, there is a formula inside and I do not want anybody to
delete it. Do you know some solutions?Thanks



Reniek

protecting formulas
 
Hi,
Thanks it works!!!

Uzytkownik "Frank Kabel" napisal w wiadomosci
...
Hi
this depeneds on you macro. As workaround unprotect the sheet within
your macro and protect it again at the end

--
Regards
Frank Kabel
Frankfurt, Germany


Reniek wrote:
Thank you very much your advice. However the problem is that if any
action is taken after this, a message is displayed and running macro
is stopped. I am looking for a solution which does not stop a running
procedure.
Do you know sth? Many thanks in advance.

Uzytkownik "Frank Kabel" napisal w

wiadomosci
...
Hi
- select all cells for which you want allow changes
- goto 'Format - Cells - Protection' and uncheck 'Locked'
- now goto 'Tools - Protection' and protect your sheet

--
Regards
Frank Kabel
Frankfurt, Germany


Reniek wrote:
I would like to block somehow a part of cells in a sheet. For
example, there is a formula inside and I do not want anybody to
delete it. Do you know some solutions?Thanks






All times are GMT +1. The time now is 10:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com