Save values every month

Joxon

Board Regular
Joined
Nov 3, 2008
Messages
56
Hello!

I would like to autosave (copy/paste) some values in the end of every month of the year.
I want it too save a average value in a column every month.

I have done this in collage but dont remeber it. (But maybee it was power plus pro)
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

venkat1926

Well-known Member
Joined
Aug 21, 2005
Messages
4,824
I am thinking why not try this
you write a macro to copy paste deseired cells .suppose this mcro is called "test" then

right clilck the excel icon to the left of the <file> menu and vlick view code copy this event code.


Code:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
If Day(Date)+1= 1 Then Application.Run test 
End Sub

so on the last day of the month when you close the file the macro will be run. If you are thinking of last working day you have to modify the event code
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,155
Messages
5,835,697
Members
430,379
Latest member
QCLAN

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top