Home > Forum Home > Analyzing Corporate Financial Data > Error 1004 after protecting sheet | Share |
Forum Topic | Post Reply Login |
Error 1004 After Protecting Sheet | Rate this: (3/5 from 1 vote) |
Hi I am working on project on Excel sheet where I have to validate data entered in the particular column in the sheet. I have written the code for the same in VB, which works fine. Now, I have to protect the sheet so that I can stop user from make unnecessary changes. After protection, it dosn't allow me to execute any code, it generates error code 1004. How to solve the problem? Or is it any way to make particular row/column Readonly, insted of protecting sheet? | ||
Posted by pallavi on |
Replies - Displaying 1 to 3 of 3 | Order Replies By: Most Recent | Chronological | Highest Rated |
Rate this: (3/5 from 1 vote) | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Rate this: (3/5 from 1 vote) Sheet1 is not protected! Sheet2 is protected! In general, try to avoid GoTo in VBA (and in every programming language), unless it is for error-catching. People become mad when they see these. | |
Posted by Jimmywick on |
Rate this: (3/5 from 1 vote) Regards, Peter | |
Posted by petergroft on |
Displaying page 1 of 1 |
Find relevant Excel templates and add-ins for Error 1004 after protecting sheet in the Excel Business Solutions Directory |