I am trying to export data from a master workbook, into my current workbook, based on 2 values in my current workbook.
Current Workbook:
C1: Employee
C2: Bob
D1: Month
D2: July
Workbook I need to get data from:
V1: Employee
S1: Month
Is there a way to write a macro in my current workbook, that will autofilter the data in the master workbook based on my two criteria (that I will need to change in the future), copy it, and paste it in a worksheet in the current workbook I am using?
So I want data from the master workbook to only copy data that are for Employee Bob and Month of July, and paste it in another sheet in my current workbook. The employee and month I will need to change every time I use the macro, so it will really just need to reference the cell value.
Please let me know if you have any questions. I've been trying to go about this the last day and a half and I'm not getting anywhere or finding older posts similar to my current situation.
Current Workbook:
C1: Employee
C2: Bob
D1: Month
D2: July
Workbook I need to get data from:
V1: Employee
S1: Month
Is there a way to write a macro in my current workbook, that will autofilter the data in the master workbook based on my two criteria (that I will need to change in the future), copy it, and paste it in a worksheet in the current workbook I am using?
So I want data from the master workbook to only copy data that are for Employee Bob and Month of July, and paste it in another sheet in my current workbook. The employee and month I will need to change every time I use the macro, so it will really just need to reference the cell value.
Please let me know if you have any questions. I've been trying to go about this the last day and a half and I'm not getting anywhere or finding older posts similar to my current situation.