![]() |
|
#7
|
|||
|
|||
|
Hi @all
Use Intersect() to verify if the changed cell in deed is the one which shall trigger a certain Selection. The rest is easy: Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("K12")) Is Nothing Then
Range("G11").Select
End If
End Sub
Cheers |
| Tags |
| send cursor, vba code |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
VBA code to select one word from a text in a cell and place that word in next cell
|
Shinaj | Excel | 2 | 05-01-2014 01:50 PM |
| Macro code should find inv no in folder and send attachhed mail. | visha_1984 | Outlook | 0 | 01-30-2013 05:08 AM |
| Displaying cursor position within cell | MiamiTom | Excel | 0 | 11-18-2011 09:02 AM |
Code for Changing Cell Backgrounds
|
leroytrolley | Excel | 2 | 12-05-2008 02:05 AM |
code to save / rename / send attachments
|
unit213 | Outlook | 1 | 09-26-2007 08:15 PM |