LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 430
Default can OnEntry be limited to certain cells only??

Thanks for the feedback

"Chief Wiggums"
wrote in message
news:Chief.Wiggums.23surb_1140895201.7253@excelfor um-nospam.com...

OK, the following seems to work:

Set isect = Application.Intersect(Range(Application.Caller.Add ress),
Range("rg2"))
If isect Is Nothing Then
MsgBox "Ranges do not intersect"
Else
isect.Select
End If

In this example, Application.Caller.Address returns the address of the
cell which was edited. So one can test and then act, depending on
whether that cell was a specified cell or not.

THanks again, Jim.


--
Chief Wiggums
------------------------------------------------------------------------
Chief Wiggums's Profile:
http://www.excelforum.com/member.php...o&userid=16934
View this thread: http://www.excelforum.com/showthread...hreadid=516531





 
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
move cursor on limited cells. Invisible Excel Worksheet Functions 1 May 11th 08 07:36 PM
Limited amount of cells in a formula Tim Excel Worksheet Functions 4 April 2nd 08 10:19 PM
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 02:29 PM
populate a limited # of cells with a set value Jane Excel Worksheet Functions 5 March 18th 05 09:43 PM
Application onEntry with IF then statement TR[_2_] Excel Programming 0 July 9th 04 05:26 PM


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