I have to create a macro for work in excel and getting lost and was wondering if yall could assist.
So I have two workbooks. The first workbook (TEST) has a form that I need to print, the second workbook (Coin Test) has raw data. I have a cell in the form workbook where if I paste an item number from the raw data workbook it'll automatically pull all of the item information from the raw data sheet via a formula and fill in the form (Item Number, Item specifications, Item price, etc).
So what I need to do is automate going to the raw data sheet, copying the first item number from C1 and then go to the form workbook and pasting that item number into the cell J2 where it'll automatically fill out the form and then print that form and then go back to the raw data workbook and go down to the next item number and rinse and repeat. I was trying to piece together codes together, here is my monster so far. Thank you all for any assistance
Sub Macro4()
'Macro4 Macro
  Sheets("TESTING").Select
  Selection.Copy
  Sheets("COIN TESTING").Select
  ActiveSheet.Paste
  For Each Cell In Range("C$:C$")
    If Cell.Value = vbNullString Then Exit For
    Range("C$:C$").Value = Cell.Value
    Cell.Offset(1, 0).Value = Range("J2").Value
  Next
End Sub
 
     
    