Solved

Excel - Worksheet uncontrolled re-lock

Posted on 2011-09-16
12
279 Views
Last Modified: 2012-05-12
We have an Excel based form (Excel 2007) that has been working well, until this afternoon.

Now the Option Buttons are always protected (read only) despite the worksheet being unprotected.

When the worksheet is unprotected, if you click on an Option Button, the worksheet automatically locks by itself, without a password being entered. I belive that is resulting from the last command in the Option Button macro.

To unlock the worksheet again, you need to use the password.

The worksheet is attached. the password is set to: 123

Any insight or suggestions would be appreciated.

Tosagua CANNON---MANUAL-BILL-OF-LADING--.xls
0
Comment
Question by:Tosagua
  • 4
  • 3
  • 3
12 Comments
 
LVL 12

Expert Comment

by:viralypatel
ID: 36550673
Check the attached version. The issue is resolved in this copy.
CANNON---MANUAL-BILL-OF-LADING--.xls
0
 

Author Comment

by:Tosagua
ID: 36550690
viralypatel,

Are you saying that when YOU click on the the Options Buttons everything is working well ?

Tosagua
0
 
LVL 12

Expert Comment

by:viralypatel
ID: 36550712
yes ... in the file I've attached. Check and let me know if u see the error in the one I've attached too.
0
 

Author Comment

by:Tosagua
ID: 36550756
viralypatel,

Yes, on our computers, the problem is still there.

Tosagua
0
 
LVL 12

Expert Comment

by:viralypatel
ID: 36550792
i just tried "save as" and saved the file with the same name at a different location and it stopped showing the error. Can you check after doing that?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Tosagua
ID: 36550917
viralypatel,

We just tried it on two different computers, saving it to two different servers.
The problem is still there. So, I don't think that the problem is with the file.

Tosagua
0
 
LVL 12

Accepted Solution

by:
kgerb earned 500 total points
ID: 36569975
Tosagua,
Please try the attached workbook.  I changed the option buttons from Form controls to ActiveX controls.  That way you don't have to un-protect and protect the worksheet every time the macro runs.

Kyle
Q-27312490-RevA.xlsm
0
 
LVL 12

Expert Comment

by:kgerb
ID: 36569986
P.S.  You can also delete Sheet1 now.
0
 

Author Closing Comment

by:Tosagua
ID: 36593031
Kyle,

It works perfectly.

Thank you,

Tosagua
0
 
LVL 12

Expert Comment

by:kgerb
ID: 36594121
You're welcome.  Thanks for the points and the grade:)

Kyle
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Outlook Free & Paid Tools
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now