colinharwood
Active Member
- Joined
- Jul 27, 2002
- Messages
- 426
- Office Version
- 2019
- Platform
- Windows
When using the following code in a macro
Cells.Find(What:="ashdown", After:=ActiveCell, LookIn:=xlFormulas2, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Is it possible to replace What:="ashdown" with a variable from the macro, ie ashdown = variable
Thanks
Cells.Find(What:="ashdown", After:=ActiveCell, LookIn:=xlFormulas2, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
Is it possible to replace What:="ashdown" with a variable from the macro, ie ashdown = variable
Thanks