Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Message box for cell change


I have a fairly large spreadsheet in which I have protected certai
cells from being accidentially modified by the user by setting Data -
Validation - Custom - =. I have found that it would be much mor
beneficial if I could instead have a pop-up box when a user tried t
modify a certain cell asking for verification before allowing them t
modify the cell. Is there a way to specify certain cells to call
pop-up box when a user tries to modify them

--
Prometheu
-----------------------------------------------------------------------
Prometheus's Profile: http://www.excelforum.com/member.php...fo&userid=1569
View this thread: http://www.excelforum.com/showthread.php?threadid=46689

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default Message box for cell change

You might want to look at the worksheet selection change event.

Change $A$1 to your cell address
Or you can generalize it by looking at
target.row and/or target.column

If target.Address = "$A$1" then
'code for pop-up
Else ' alternate code
End If

Post back if you need actual code.
--
steveB

Remove "AYN" from email to respond
"Prometheus" wrote
in message ...

I have a fairly large spreadsheet in which I have protected certain
cells from being accidentially modified by the user by setting Data -
Validation - Custom - =. I have found that it would be much more
beneficial if I could instead have a pop-up box when a user tried to
modify a certain cell asking for verification before allowing them to
modify the cell. Is there a way to specify certain cells to call a
pop-up box when a user tries to modify them?


--
Prometheus
------------------------------------------------------------------------
Prometheus's Profile:
http://www.excelforum.com/member.php...o&userid=15697
View this thread: http://www.excelforum.com/showthread...hreadid=466894



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Message box for cell change


Delayed reply, been busy lately :)

Actually, if you could post a few lines of sample code that would be
great, I've never worked with the worksheet selection change event.

Thanks.


--
Prometheus
------------------------------------------------------------------------
Prometheus's Profile: http://www.excelforum.com/member.php...o&userid=15697
View this thread: http://www.excelforum.com/showthread...hreadid=466894

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
Email message on cell change event jknapp1005 Excel Worksheet Functions 1 March 17th 09 09:29 PM
Change the position of a pop message splodgey Excel Discussion (Misc queries) 2 June 21st 07 01:47 PM
How to change and error message to text NEWB Excel Worksheet Functions 4 December 1st 05 09:21 PM
how do you change font size in message box pete the greek Excel Discussion (Misc queries) 3 June 7th 05 03:56 PM
Change Message on Protected Worksheet Phil Hageman[_4_] Excel Programming 1 March 29th 05 08:43 PM


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

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"