Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub CopyC()
Dim rngC As Range
Const SELL = "SELL"
Const BUY = "BUY"
Set rngC = Range(Cells(10, 3), Cells(Cells.Rows.Count, 3))
For Each cell In rngC
With cell
If UCase(Left(.Value, 4)) = SELL Or _
UCase(Left(.Value, 3)) = BUY Then
Cells(.Row, .Column + 1).Value = .Value
End If
End With
Next
End Sub
Sub CopyD()
Dim rngD As Range
Set rngD = Range(Cells(10, 4), Cells(Cells.Rows.Count, 4))
For Each cell In rngD
With cell
Cells(.Row, .Column + 1).Value = .Value
End With
Next
End Sub
Sub Main()
CopyC
CopyD
End Sub