Hi,
I have a spreadsheet containing current month and last month data. My goal is to create a macro to delete the last month of data and then point to a new workbook to copy and paste the new current month data into the existing workbook. Is there a simple VBA code to create this?
For example:
I have April data
I have May data
(both consolidated into one sheet)
I want the macro to look for April data, delete all rows and point to the June data workbook, copy and paste the data into the existing workbook.
Would appreciate any help I could get. Thanks!
I have a spreadsheet containing current month and last month data. My goal is to create a macro to delete the last month of data and then point to a new workbook to copy and paste the new current month data into the existing workbook. Is there a simple VBA code to create this?
For example:
I have April data
I have May data
(both consolidated into one sheet)
I want the macro to look for April data, delete all rows and point to the June data workbook, copy and paste the data into the existing workbook.
Would appreciate any help I could get. Thanks!