Thread: VBA edit
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Benjamin Benjamin is offline
external usenet poster
 
Posts: 102
Default VBA edit

I received this code from Don Guillett:

Sub copyalltotheirsheets()
For Each c In Range("a2:a" & Cells(Rows.Count, "a").End(xlUp).Row)
With Sheets(CStr(c))
..Rows(2).Insert
c.Resize(, 2).Copy .Range("a2")
End With
Next c
End Sub

Currently this copies the data in row A and B. How could I include the data
in column C?

Thanks,