Access Beginner
Active Member
- Joined
- Nov 8, 2010
- Messages
- 311
- Office Version
- 2016
- Platform
- Windows
Hi all,
I recorded a macro for a find and replace and was hoping if someone could tweak so that the "What" is and input box and the "Replacement" is also an input box
I recorded a macro for a find and replace and was hoping if someone could tweak so that the "What" is and input box and the "Replacement" is also an input box
Code:
Sub Find_and_Replace()
'
' Find_and_Replace Macro
'
'
Sheets("Data Table3").Select
Range("D3:D18").Select
Selection.Replace What:="20131227", Replacement:="20140627", LookAt:= _
xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub