PC Review


Reply
Thread Tools Rate Thread

Copy Current Month into YTD Spreadsheet

 
 
AJ
Guest
Posts: n/a
 
      23rd Jul 2008
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!




--
AJ
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      23rd Jul 2008
Sub dural()
Sheets("Data").Range("A:A").Copy
Sheets("Monthly").Activate
Cells(1, Month(Date)).Select
ActiveSheet.Paste
End Sub

--
Gary''s Student - gsnu200796


"AJ" wrote:

> 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!
>
>
>
>
> --
> AJ

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing Little Current month and Little Next month on Banner when it should little PRIOR month and little Next month. jake_allen10@hotmail.com Microsoft Outlook 0 3rd Nov 2006 07:30 PM
How can I copy current month from calendar into a word document? =?Utf-8?B?Y2FsZW5kYXIgZ2lybA==?= Microsoft Outlook Calendar 0 7th Sep 2006 06:48 PM
copy worksheet from previous month and rename to current month =?Utf-8?B?RGFuIEUu?= Microsoft Excel Programming 4 8th Dec 2005 09:40 PM
Unable to copy another spreadsheet to the current spreadsheet with =?Utf-8?B?cm1jb21wdXRl?= Microsoft Excel Programming 2 18th Nov 2005 01:19 AM
Re: How to open another Excel spreadsheet to copy data into current spreadsheet ? Ricky Pang Microsoft Excel Programming 0 13th Jul 2003 01:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:03 AM.