I want to copy data from Sheet1 to Sheet2 based on headers in two sheets. The following code works great when both sheets’ headers are in first row. My question is if header in Sheet2 is in row 8, then how would my code be? thank you.
Sub CopyData()
Dim sws As Worksheet, dws As Worksheet
Dim...