Hello,
Am currently an intern and a VBA newbie. Looking to write a code that inserts rows from one master template sheet and enters them into another interview sheet.
The template may change and this process needs to be repeated a certain number of times. (this number is set of certain cells that are filled in and hope to make the copy paste loop in the future)
For now what I looking for help on is.
Selecting the rows and inserting them with formats and formulas into the first blank cell in a range.
Here is my code, it is not working on the very last line?
I can post files if anyone can help.
Thanks
Am currently an intern and a VBA newbie. Looking to write a code that inserts rows from one master template sheet and enters them into another interview sheet.
The template may change and this process needs to be repeated a certain number of times. (this number is set of certain cells that are filled in and hope to make the copy paste loop in the future)
For now what I looking for help on is.
Selecting the rows and inserting them with formats and formulas into the first blank cell in a range.
Here is my code, it is not working on the very last line?
Code:
Sub Copy_And_InsertRows_From_One_Sheet_To_Another()LastRow = Range("B" & Rows.Count).End(xlUp).Row + 1
With Worksheets("Score_Template")
Range("B10").Select
Range(ActiveCell, Cells(ActiveCell.End(xlDown).Row, ActiveCell.End(xlToRight).Column)).EntireRow.Select
Application.CutCopyMode = False
Selection.Copy
End With
Worksheets("Interview_Card").Range("B" & LastRow).Select
Selection.Insert
End Sub
I can post files if anyone can help.
Thanks