This is a smaller version of my macro which goes up to "BI100"of which when run would paste whatever is in Range ("D1:D31") onto range "BJ100"
The row from "BI2" downwards could vary in length my hard code macro would run all the way to line 100
I would like the macro to stop when column "BI" isn't populated and End Sub
Many Thanks Steve
Sub Macro8()
Sheets("LAYWIN").Select
Range("BI2").Select
Selection.COPY
Range("C20").Select
ActiveSheet.Paste
Range("D1:D31").Select
Application.CutCopyMode = False
Selection.COPY
Range("BJ2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
Range("BI3").Select
Application.CutCopyMode = False
Selection.COPY
Range("C20").Select
ActiveSheet.Paste
Range("D1:D31").Select
Application.CutCopyMode = False
Selection.COPY
Range("BJ3").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
The row from "BI2" downwards could vary in length my hard code macro would run all the way to line 100
I would like the macro to stop when column "BI" isn't populated and End Sub
Many Thanks Steve
Sub Macro8()
Sheets("LAYWIN").Select
Range("BI2").Select
Selection.COPY
Range("C20").Select
ActiveSheet.Paste
Range("D1:D31").Select
Application.CutCopyMode = False
Selection.COPY
Range("BJ2").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
Range("BI3").Select
Application.CutCopyMode = False
Selection.COPY
Range("C20").Select
ActiveSheet.Paste
Range("D1:D31").Select
Application.CutCopyMode = False
Selection.COPY
Range("BJ3").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True