WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Protect, Unprotect error

 
   Home -> Office -> General Protection Fault Errors RSS
Next:  transparent areas in charts?  
Author Message
Pyrite

External


Since: Nov 02, 2004
Posts: 61



(Msg. 1) Posted: Fri Aug 15, 2008 1:53 am
Post subject: Protect, Unprotect error
Archived from groups: microsoft>public>excel>crashesgpfs (more info?)

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.
Back to top
Login to vote
Barb Reinhardt

External


Since: Aug 01, 2006
Posts: 1339



(Msg. 2) Posted: Sat Aug 16, 2008 8:30 pm
Post subject: RE: Protect, Unprotect error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If they copied from another worksheet to this one, it's possible that they
copied the LOCKED setting. IIRC, the default value is LOCKED = TRUE.
--
HTH,
Barb Reinhardt



"Pyrite" wrote:

> 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.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Protection Fault Errors All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET