Copy Current Month into YTD Spreadsheet

A

AJ

I would like to create a macro to copy the current month information from one
spreadsheet into a Montly YTD spreadsheet.

I want to be able to create a macro so that for example if it's June, the
macro would know how many columns over it needs to "copy to" on the YTD
spreadsheet. I will be doing this each month.

Hope that makes sense.

Thanks!
 
G

Gary''s Student

Sub dural()
Sheets("Data").Range("A:A").Copy
Sheets("Monthly").Activate
Cells(1, Month(Date)).Select
ActiveSheet.Paste
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top