Option Explicit
Sub JackPWinnerIWant15PercentOfJackpot()
' constants
Const ksoutput = "L5"
' declarations
Dim rngI As Range, rngO As Range
Dim I As Long, J As Integer
' start
Set rngI = Selection
Set rngO = ActiveSheet.Range(ksoutput)
' process
With rngI
For I = 1 To .Columns.Count
.Columns(I).Copy rngO.Offset(0, .Columns.Count - I)
Next I
End With
' end
Set rngO = Nothing
Set rngI = Nothing
Beep
End Sub
Hi, Jack-P-Winner!
Give a look at the uploaded file. This is the code, which works on the selected range:
Regards!Code:Option Explicit Sub JackPWinnerIWant15PercentOfJackpot() ' constants Const ksoutput = "L5" ' declarations Dim rngI As Range, rngO As Range Dim I As Long, J As Integer ' start Set rngI = Selection Set rngO = ActiveSheet.Range(ksoutput) ' process With rngI For I = 1 To .Columns.Count .Columns(I).Copy rngO.Offset(0, .Columns.Count - I) Next I End With ' end Set rngO = Nothing Set rngI = Nothing Beep End Sub
Hi, Jack-P-Winner!I will not only look for patterns like a TEE but other images like the If you look at the eight 8's under columns I and G is another similar pattern I would look for. The more I think about this it Ma be impossible to describe on a forum what I'm looking for lol