#1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Cell Entry

I have VBA code that updates protected cells in a protected worksheet. The
user selects the cells to update. How do I restrict this update to certain
cells only? Do I have to check if the selected cell (ActiveCell) is within a
certain range of cells? What is the best way to do this? Thank you.
--
Ed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Cell Entry

Can you elaborate a bit?
Do you have more than one user?
Do different users' have access to different cells or do all users get
access to the same cells? If this is the case, do you want to simply unlock
the cells that users can edit, then protect the sheet?


"Ed" wrote:

I have VBA code that updates protected cells in a protected worksheet. The
user selects the cells to update. How do I restrict this update to certain
cells only? Do I have to check if the selected cell (ActiveCell) is within a
certain range of cells? What is the best way to do this? Thank you.
--
Ed

  #3   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 279
Default Cell Entry

Only one user. To elaborate, I have drop down and scroll boxes and standard
command boxes occupying some of the space where cells a1 to g12 reside. I
want the user to only select cells in the 'free' area of a14 to g22.
Currently they can also select cells in a1.g12.
Thinking I need to get the active cell and if it is outside the a14.g22
area, then give them a msg to select only in the requested area. Else,
continue processing the update. Just not sure how best to do this.
The way I wrote this, all cells on the sheet are protected. The cells in
a14.g22 simply show an update from another worksheet. But I want this update
to only show in the a14.g22 cells. Hope this explains it. Thanks.

"gocush" wrote:

Can you elaborate a bit?
Do you have more than one user?
Do different users' have access to different cells or do all users get
access to the same cells? If this is the case, do you want to simply unlock
the cells that users can edit, then protect the sheet?


"Ed" wrote:

I have VBA code that updates protected cells in a protected worksheet. The
user selects the cells to update. How do I restrict this update to certain
cells only? Do I have to check if the selected cell (ActiveCell) is within a
certain range of cells? What is the best way to do this? Thank you.
--
Ed

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
Can I lock a cell after data entry so entry can not be changed Verlinde Excel Discussion (Misc queries) 3 April 22nd 10 07:59 PM
Auto entry on cell entry Tony Excel Discussion (Misc queries) 1 March 8th 10 07:21 PM
Control Data Entry - push entry to next cell Ofelia Excel Discussion (Misc queries) 0 July 7th 08 04:19 PM
restricting entry into a cell based on entry to a previous cell newbie57 New Users to Excel 1 June 9th 08 05:43 PM
Cell Entry That Locks Selected Cells From Any Data Entry. ron Excel Worksheet Functions 5 February 16th 07 09:52 PM


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