32CARDS
Board Regular
- Joined
- Jan 1, 2005
- Messages
- 123
Example Code:
Sub Macro5()
'
' Macro5 Macro
Cells.Find(What:="here", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Activate
'arrow key right !! NOT Cell D7
Range("D7").Select
End Sub
====================================================
The Issue:
The "Find *here*" part of the script is fine, but the "Range ("D7).Select"
has to be a "arrow key" direction from wherever the cell with "find" is located, but not specificaly cell D7.
====================================================
The question:
What is the macro code for "arrow key" left,right,up and down" ?
It then has to copy the contents of the cell, right of "find"
Answer/s:
===========================================================
Thanks in advance
Sub Macro5()
'
' Macro5 Macro
Cells.Find(What:="here", After:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False).Activate
'arrow key right !! NOT Cell D7
Range("D7").Select
End Sub
====================================================
The Issue:
The "Find *here*" part of the script is fine, but the "Range ("D7).Select"
has to be a "arrow key" direction from wherever the cell with "find" is located, but not specificaly cell D7.
====================================================
The question:
What is the macro code for "arrow key" left,right,up and down" ?
It then has to copy the contents of the cell, right of "find"
Answer/s:
===========================================================
Thanks in advance