Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50070

Copy & Paste data into new tab of another Worksheet.

$
0
0
Hi

Could someone help me with the following please?

I have a worksheet (Worksheet A) that contains some data in columns A-D on Sheet1. I have a macro in another completely different excel file that creates a new workbook with the relevant current day date (Check26112012.xls etc) and saves this into a folder. This is run daily and therefore there is a new spreadsheet (with a new date) saved into this folder.

What I would like to do is to run a macro on Worksheet A, that will do the following;
  • Copy all data in columns A-D on Sheet1 in Worksheet A
  • Find the latest excel file in my folder
  • Create a new tab in this file called “Check”
  • Paste the data in columns A-D into this newly created tab.
  • Save & close the spreadsheet


I hope this makes sense to someone!

Viewing all articles
Browse latest Browse all 50070

Trending Articles