Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 557
Default LOCK THE CELLS

Hi, I want a macro that if I try to activate cell or try to select
any cell in Range("C1:D10")
then cell "A1" should be selected or get activate. Basically I am
trying to lock the Range("C1:D10") that
if I or someone else select any cell in Range above then cell "A1"
should get selected
like this nothing can be edit in Range above. I hope I explained what
I am trying to
say. Please if anybody can give me help in this.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 735
Default LOCK THE CELLS

Take a look at setting the Protection on the cell range then protecting the
sheet and workbook. You can choose if the user can select or not the
protected cells.

If you in addition you also need to move the cursor to Cell A1 then put a
selection event in the worksheet code.

--

Regards,
Nigel




"K" wrote in message
...
Hi, I want a macro that if I try to activate cell or try to select
any cell in Range("C1:D10")
then cell "A1" should be selected or get activate. Basically I am
trying to lock the Range("C1:D10") that
if I or someone else select any cell in Range above then cell "A1"
should get selected
like this nothing can be edit in Range above. I hope I explained what
I am trying to
say. Please if anybody can give me help in this.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 557
Default LOCK THE CELLS

On Jan 30, 11:04*am, "Nigel" wrote:
Take a look at setting the Protection on the cell range then protecting the
sheet and workbook. *You can choose if the user can select or not the
protected cells.

If you in addition you also need to move the cursor to Cell A1 then put a
selection event in the worksheet code.

--

Regards,
Nigel


"K" wrote in message

...



Hi, *I want a macro that if I try to activate cell or try to select
any cell in Range("C1:D10")
then cell "A1" should be selected or get activate. *Basically I am
trying to lock the Range("C1:D10") that
if I or someone else select any cell in Range above then cell "A1"
should get selected
like this nothing can be edit in Range above. *I hope I explained what
I am trying to
say. *Please if anybody can give me help in this.- Hide quoted text -


- Show quoted text -


do you know how what should i do to protect the range of cell as i am
using Excel 2007
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
Lock cells Mitesh Hirani[_2_] Excel Discussion (Misc queries) 2 December 3rd 09 12:28 PM
Lock Cells Neil Pearce Excel Discussion (Misc queries) 3 May 1st 08 04:05 AM
why do some cells not lock? CDecuir Excel Discussion (Misc queries) 1 April 16th 07 08:31 PM
lock cells. Miri Excel Discussion (Misc queries) 1 February 21st 07 09:42 AM
How To Lock Cells Ziggy M Excel Discussion (Misc queries) 3 August 18th 06 02:24 PM


All times are GMT +1. The time now is 05:11 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"