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: 150
Default Preventing change of a cell value

Hi,

Value in column A determines values in other cells in the same row.
I want the user to be warned before changing the value in column A
that the contents of the row will be deleted as values in other cells
depend on the value in column A. I am using the worksheet change event
for this. Unfortunately, this works only after the value in Column A
is changed. The code I am using in the worksheet change event is:
If Inputsheet.Cells(Selection.Row, 9) < "". Then etc.

Here column 9 is selected as the value in column 9 is derived through
a series of changes in the intervening columns: all decided by the
value in column 1(A).

Any help on how to prevent change to cell in column A before changing
the value will be welcome.

Thanks in advance for the help.

Regards,
Raj

 
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
Preventing a cell value based on change in other field Dkline Excel Programming 3 April 12th 07 12:10 PM
preventing a cell from being referenced? Eijah626 Excel Discussion (Misc queries) 1 November 28th 05 07:23 PM
Preventing only one cell from recalculating Mike K[_4_] Excel Programming 1 October 28th 05 09:03 PM
preventing reference to a particular cell Jim O[_4_] Excel Programming 4 September 20th 05 08:07 PM
Preventing cell from being empty Kobus Excel Programming 2 April 15th 05 08:08 AM


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