Sub PostToRegister()
Dim wb1 As Workbook
Dim wb2 As Workbook
Dim fname As String
Dim arr
Dim NextRow As Long
' Set current macro workbook to wb1 object variable
' (takip workbook is the active workbook where this VBA code resides
Set wb1 = ActiveWorkbook
' Capture values from this takip workbook in array
arr = Array(Range("F7"), Range("F5"), Range("C6"), _
Range("C5"), Range("F8"), Range("I2"))
' Set full path and file name of registerfile that you want to open
[COLOR=#ff0000] fname = "f:\aaa\teklif\register.xlsx"[/COLOR]
' Open other workbook
Workbooks.Open Filename:=fname
' Set the register workbook to to the wb2 object variable
Set wb2 = ActiveWorkbook
' Figure out which row is the next row
NextRow = Cells(Rows.Count, 1).End(xlUp).Row + 1
' Write the important values to Register
Cells(NextRow, 1).Resize(1, 6).Value = arr
' Save and close register workbook
ActiveWorkbook.Save
wb2.Close
End Sub