LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Lock different ranges after inserting data

Hello everyone,

again, I have a question concerning programming a macro in Excel 2003.

I have 3 different rows, let's say E3:Q3, E5:Q5 and E7:Q7. If someone enters
data into one or more cells of ONE row, I want the cells in the other 2 rows
to be locked. And the data which was entered to the cells of the one row
should be copied to the other 2 rows.
Example:
Someone enters a 1, 2, 3, 4,...,12 in the cells of E3:Q3. This data should
be copied to E5:Q5 and E7:Q7 and nobody should be able to overwrite this data
in these rows. There should be message box popping up, if someone trys to
change the copied data: "you can't put your data in here...go to row 3 to
change data."

Same thing should happen if somebody starts entering data in E5:Q5 or E7:Q7.
Thanks for your help!
 
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
Inserting variable outputs into different ranges Genix Excel Programming 2 August 16th 09 06:26 PM
Lock and protect ranges simon Excel Programming 5 July 3rd 09 01:49 PM
Shift the Left Boundary of Named Ranges when Inserting Columns [email protected] Excel Programming 2 November 12th 08 05:36 PM
How do I lock worksheets so only a couple ranges on each allow inp John Excel Programming 1 January 20th 06 02:18 AM
Inserting a File Name into Worksheet Ranges Chris Excel Programming 0 October 1st 03 04:37 AM


All times are GMT +1. The time now is 01:37 AM.

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"