#1   Report Post  
Posted to microsoft.public.excel.misc
ah ah is offline
external usenet poster
 
Posts: 33
Default URGENT HELP NEEDED

Hi;

Can someone help me urgently? I'm getting a lot of complaint from end user
stating that they are not be able to change the cell contents.

This is how it works:
a) Staff A will fill in the template and forward it to their supervisor for
approval
b) The supervisor might need to make some amendments when they found that
there are some mistakes with the form.
c) The supervisor claim that they are not be able to change the contents in
some of the cell

I performed a check and found that the cell properties has been changed to
"Locked" when it reaches the supervisor. For your information, I did not lock
the cell. In the event if it is locked, then the staff will not be able to
fill in the cell at the 1st place, as they don't have the password to
unprotect it.

I suspect the staff A is copying the data from another source and paste it
into the template when they performed the data entry.

Please advice:
How am i going to prevent the user from changing the cell properties from
"unlocked" to "Locked" even when they are copying the data from another
source?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default URGENT HELP NEEDED

My suggestion:
Write in a quick event macro that unlocks the specified range(s) for before
the workbook closes. Something like the following:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

Range("B4:D12").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

End Sub

This would go in the ThisWorkbook section of your VBE. Hope this helps!
--
-SA


"ah" wrote:

Hi;

Can someone help me urgently? I'm getting a lot of complaint from end user
stating that they are not be able to change the cell contents.

This is how it works:
a) Staff A will fill in the template and forward it to their supervisor for
approval
b) The supervisor might need to make some amendments when they found that
there are some mistakes with the form.
c) The supervisor claim that they are not be able to change the contents in
some of the cell

I performed a check and found that the cell properties has been changed to
"Locked" when it reaches the supervisor. For your information, I did not lock
the cell. In the event if it is locked, then the staff will not be able to
fill in the cell at the 1st place, as they don't have the password to
unprotect it.

I suspect the staff A is copying the data from another source and paste it
into the template when they performed the data entry.

Please advice:
How am i going to prevent the user from changing the cell properties from
"unlocked" to "Locked" even when they are copying the data from another
source?

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
ah ah is offline
external usenet poster
 
Posts: 33
Default URGENT HELP NEEDED

Hi;

Thanks for your reply.

I tried to insert the code that you provided, however I get the following
error when I close the file:

Run-time error '438'
Object doesn't support this property or method

and the following code is being highlighted:
Range("D4:E6").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

Please advice.

Thanks in advance


"StumpedAgain" wrote:

My suggestion:
Write in a quick event macro that unlocks the specified range(s) for before
the workbook closes. Something like the following:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

Range("B4:D12").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

End Sub

This would go in the ThisWorkbook section of your VBE. Hope this helps!
--
-SA


"ah" wrote:

Hi;

Can someone help me urgently? I'm getting a lot of complaint from end user
stating that they are not be able to change the cell contents.

This is how it works:
a) Staff A will fill in the template and forward it to their supervisor for
approval
b) The supervisor might need to make some amendments when they found that
there are some mistakes with the form.
c) The supervisor claim that they are not be able to change the contents in
some of the cell

I performed a check and found that the cell properties has been changed to
"Locked" when it reaches the supervisor. For your information, I did not lock
the cell. In the event if it is locked, then the staff will not be able to
fill in the cell at the 1st place, as they don't have the password to
unprotect it.

I suspect the staff A is copying the data from another source and paste it
into the template when they performed the data entry.

Please advice:
How am i going to prevent the user from changing the cell properties from
"unlocked" to "Locked" even when they are copying the data from another
source?

Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default URGENT HELP NEEDED

Sorry about that... not sure what I was thinking.... try the following or
just use the tool Tools-Protection-Allow Users to Edit Ranges...

Sub Macro2()
ActiveSheet.Protection.AllowEditRanges.Add Title:="Range1",
Range:=Range( _
"A3:C9")
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub

--
-SA


"ah" wrote:

Hi;

Thanks for your reply.

I tried to insert the code that you provided, however I get the following
error when I close the file:

Run-time error '438'
Object doesn't support this property or method

and the following code is being highlighted:
Range("D4:E6").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

Please advice.

Thanks in advance


"StumpedAgain" wrote:

My suggestion:
Write in a quick event macro that unlocks the specified range(s) for before
the workbook closes. Something like the following:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

Range("B4:D12").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

End Sub

This would go in the ThisWorkbook section of your VBE. Hope this helps!
--
-SA


"ah" wrote:

Hi;

Can someone help me urgently? I'm getting a lot of complaint from end user
stating that they are not be able to change the cell contents.

This is how it works:
a) Staff A will fill in the template and forward it to their supervisor for
approval
b) The supervisor might need to make some amendments when they found that
there are some mistakes with the form.
c) The supervisor claim that they are not be able to change the contents in
some of the cell

I performed a check and found that the cell properties has been changed to
"Locked" when it reaches the supervisor. For your information, I did not lock
the cell. In the event if it is locked, then the staff will not be able to
fill in the cell at the 1st place, as they don't have the password to
unprotect it.

I suspect the staff A is copying the data from another source and paste it
into the template when they performed the data entry.

Please advice:
How am i going to prevent the user from changing the cell properties from
"unlocked" to "Locked" even when they are copying the data from another
source?

Thanks in advance

  #5   Report Post  
Posted to microsoft.public.excel.misc
ah ah is offline
external usenet poster
 
Posts: 33
Default URGENT HELP NEEDED

Hi;

Thanks for your reply.

I found out that whenever the user copy the data from the web page, then the
excel will change the cell into "Locked" automatically.

Do you have any idea on how to prevent the cell's property from being
changed from "unlocked" to "locked"?



"StumpedAgain" wrote:

Sorry about that... not sure what I was thinking.... try the following or
just use the tool Tools-Protection-Allow Users to Edit Ranges...

Sub Macro2()
ActiveSheet.Protection.AllowEditRanges.Add Title:="Range1",
Range:=Range( _
"A3:C9")
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub

--
-SA


"ah" wrote:

Hi;

Thanks for your reply.

I tried to insert the code that you provided, however I get the following
error when I close the file:

Run-time error '438'
Object doesn't support this property or method

and the following code is being highlighted:
Range("D4:E6").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

Please advice.

Thanks in advance


"StumpedAgain" wrote:

My suggestion:
Write in a quick event macro that unlocks the specified range(s) for before
the workbook closes. Something like the following:

Private Sub Workbook_BeforeClose(Cancel As Boolean)

Range("B4:D12").Unprotect DrawingObjects:=True, Contents:=True,
Scenarios:=True

End Sub

This would go in the ThisWorkbook section of your VBE. Hope this helps!
--
-SA


"ah" wrote:

Hi;

Can someone help me urgently? I'm getting a lot of complaint from end user
stating that they are not be able to change the cell contents.

This is how it works:
a) Staff A will fill in the template and forward it to their supervisor for
approval
b) The supervisor might need to make some amendments when they found that
there are some mistakes with the form.
c) The supervisor claim that they are not be able to change the contents in
some of the cell

I performed a check and found that the cell properties has been changed to
"Locked" when it reaches the supervisor. For your information, I did not lock
the cell. In the event if it is locked, then the staff will not be able to
fill in the cell at the 1st place, as they don't have the password to
unprotect it.

I suspect the staff A is copying the data from another source and paste it
into the template when they performed the data entry.

Please advice:
How am i going to prevent the user from changing the cell properties from
"unlocked" to "Locked" even when they are copying the data from another
source?

Thanks in advance

Reply
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
Urgent help needed Excel Helps Excel Worksheet Functions 13 January 21st 08 03:50 PM
Urgent Help Needed please barkiny Excel Worksheet Functions 3 May 8th 06 04:36 PM
Help Needed Urgent BiggieD Excel Discussion (Misc queries) 7 April 19th 06 05:04 PM
Urgent help needed sp123 Excel Worksheet Functions 1 February 7th 06 01:00 AM
Urgent help needed! skarbanan Excel Worksheet Functions 23 December 30th 05 10:56 PM


All times are GMT +1. The time now is 02:58 PM.

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

About Us

"It's about Microsoft Excel"