JLGWhiz,
I should have posted my vba code for reference!
Sub CopyPaste()
Dim sh1 As Worksheet, sh2 As Worksheet, sh3 As Worksheet, i As Long, x As Integer, ws As Worksheet
Set ws = ThisWorkbook.Sheets.Add(after:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count))
ws.Name = "Brand By Vendor "
Sheets("Brand By Vendor ").Range("A1") = "STORE"
Sheets("Brand By Vendor ").Range("B1") = "BRAND CODE"
Sheets("Brand By Vendor ").Range("C1") = "BRAND NAME"
Set sh3 = Sheets("Brand By Vendor ")
Set sh2 = Sheets("Sheet2")
Set sh1 = Sheets("Sheet1")
Sheets("Sheet1").Select
Range("A2").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
sh3.Range("B2").PasteSpecial Paste:=xlPasteValues, operation:=xlNone, skipblanks _
:=False, Transpose:=False
sh2.Range("A2").Copy
sh3.Range("A2").PasteSpecial Paste:=xlPasteValues, operation:=xlNone, skipblanks _
:=False, Transpose:=False
sh3.Range("A2:A" & Cells(Rows.Count, 2).End(xlUp).Row).FillDown
'loop portion
Sheets("Sheet1").Select
Range("A2").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
sh3.Cells(Rows.Count, 1).End(xlUp).Offset(1, 1).PasteSpecial xlPasteValues
sh2.Range("A2").Offset(1, 0).Copy
sh3.Cells(Rows.Count, 1).End(xlUp).PasteSpecial xlPasteValues
sh3.Range("A2:A" & Cells(Rows.Count, 2).End(xlUp).Row).FillDown
End Sub
I need this to loop
The bold is where I am running into a problem, the A2 in sh2.Range("A2").Offset(1, 0).Copy is static is needs to be dynamic where it will move down one cell to copy and paste; also it needs to stop if there is a blank cell.
In addition, the A2 in sh3.Range("A2:A" & Cells(Rows.Count, 2).End(xlUp).Row).FillDown needs to be changed where it autofill down to the last row in Column 2.