LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Protect, unprotect

Hi,

I have made a timeheet in excel for around 100 users. I have emailed this
and the majority work just fine. On the sheet is a button with a macro
attached that clears the form for the next weeks use. Very basic macro that
selects cells in which they can enter data and deletes them returning to the
first cell afterwards. This works great.

I have spoken to one usr who receieved a run-time 1004 error because some of
those cells are obviously locked. There is no reason for this as it works on
many other PC's. However, to combat this I thought I would simply add
ActiveSheet.Unprotect to the beggining of the macro and ActiveSheet.Protect
to the end and solve the problem. When I do this however, running the macro
causes Excel to close down.

Please help as the only other way around this is talking him through
selecting all the required cells and making sure they are indeed 'unlocked'
which I would prefer to avoid.

Also, does anyone know why th ecells would have locked for him and no one
else? He is on the same version of Excel 2003.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect/ unprotect worksheet cc Excel Discussion (Misc queries) 0 October 19th 07 09:27 PM
Protect-Unprotect all the sheets Gary Excel Worksheet Functions 7 February 26th 07 08:13 PM
Protect / Unprotect with checkbox retseort Excel Discussion (Misc queries) 5 October 25th 05 03:45 PM
Protect/Unprotect Worksheet djn Excel Discussion (Misc queries) 1 May 12th 05 11:27 PM
Is there any way that you can protect or unprotect a group of wor. CheriT63 Excel Discussion (Misc queries) 9 January 8th 05 08:40 PM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"