Here is my current macro:
Sub Macro1()
Dim newRow As Integer
Dim rng As Range
Set rng = Selection
newRow = InputBox("Paste Where?")
Workbooks("SSO_TFR_SUMMARY").Worksheets("Sheet1").Cells(newRow, 4).Value = Worksheets("Main Circuit").Cells(rng.Row, 15).Value
Workbooks("SSO_TFR_SUMMARY").Worksheets("Sheet1").Cells(newRow, 5).Value = Worksheets("Main Circuit").Cells(rng.Row, 16).Value
Workbooks("SSO_TFR_SUMMARY").Worksheets("Sheet1").Cells(newRow, 6).Value = Worksheets("Main Circuit").Cells(rng.Row, 6).Value
Workbooks("SSO_TFR_SUMMARY").Worksheets("Sheet1").Cells(newRow, 7).Value = Worksheets("Main Circuit").Cells(rng.Row, 17).Value
End Sub
I am taking data from 4 cells in one workbook and pasting it into a new workbook. Selecting the row to be copied is working fine because there is really no easy way to differentiate what needs to be copied. Currently the macro has me entering the row that the data should be pasted to in the new workbook. how can modify this to search each time i run it and automatically enter the next available spot?
I have searched and found multiple solutions that will search for the next empty cell but I could not get them to work.
Thanks in advance!