Sub My_Find()
'Modified 7/8/18 5:45 AM EDT
Dim SearchString As String
Dim SearchRange As Range
SearchString = "Total"
Set SearchRange = Range("C4:C100").Find(SearchString, LookIn:=xlValues, lookat:=xlWhole)
If SearchRange Is Nothing Then MsgBox "The Value" & SearchString & vbNewLine & "Not found": Exit Sub
SearchRange.Select
End Sub
Sub CopyState2()'
' CopyState2 Macro
'
'
Sheets("Arr Statement").Select
Range("C5:L89").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Draft").Select
Range("C89").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.ClearContents
Sheets("Arr Statement").Select
Selection.Copy
Sheets("Draft").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
End Sub
Sub CopyState3()
'
' CopyState2 Macro
'
'
Sheets("Arr Statement").Select
Range("C5:L89").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Draft").Select
Dim SearchString As String
Dim SearchRange As Range
SearchString = "Total"
Set SearchRange = Range("C4:C1046").Find(SearchString, LookIn:=xlValues, lookat:=xlWhole)
If SearchRange Is Nothing Then MsgBox "The Value" & SearchString & vbNewLine & "Not found": Exit Sub
SearchRange.Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.ClearContents
Sheets("Arr Statement").Select
Selection.Copy
Sheets("Draft").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
End Sub
Sub CopyState3()
Dim SearchString As String
Dim SearchRange As Range
SearchString = "Total"
Set SearchRange = Sheets("Draft").Range("C4:C1046").Find(SearchString, LookIn:=xlValues, lookat:=xlWhole)
If SearchRange Is Nothing Then MsgBox "The Value" & SearchString & vbNewLine & "Not found": Exit Sub
SearchRange.Resize(84, 8).Value = Sheets("Arr Statement").Range("C5:L89").Value
End Sub