Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
See another suggestion at your other post.
"Bill (Unique as my name)" wrote: I came up with this much, but it does nothing. Help me please? Private Sub Worksheet_SelectionChange(ByVal Target As Range) Static Oldselection As Range If Oldselection = "Meter Reading" Then SendKeys "{RIGHT 2}Bill Coyne{RIGHT}FM", True End If End Sub I want to fill in "Bill Coyne" two cells to the right and "FM" three cells to the right if the cell I exit equals "Meter Reading" Thank you! -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Execute vba code on cell exit | Excel Discussion (Misc queries) | |||
code to execute on enter | Excel Programming | |||
How can I use VB code to execute macro when double-clicking cell? | Excel Programming | |||
Execute Code | Excel Programming | |||
Code won't execute... | Excel Programming |