Copy data when workbook is closed

tprotani

New Member
Joined
Oct 7, 2002
Messages
16
Is there some way to copy data from one column to another when the workbook is closed (or opened)? I am adding data for "this week" and "annual" to a column called "annual cum". I want to copy the data in "annual cum" to "annual" when I complete the entry for this week. I am not a sophisticated user.

Thanks in advance for any help.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

jimboy

Well-known Member
Joined
Apr 11, 2002
Messages
2,314
Hi,

call your macro auto_close or auto_open and record it in the normal way.

hope this helps.
 

jimboy

Well-known Member
Joined
Apr 11, 2002
Messages
2,314
Quite new to excel then!

Goto Tools> Macro > Record new macro

This will record all your keystrokes. A "Stop Recording" toolbar will appear with a stop button and Relative Reference button. Click on the stop button when you are finished.

If you want me to have a look, email the workbook at *email removed*
 

Forum statistics

Threads
1,181,778
Messages
5,931,975
Members
436,812
Latest member
afilloon

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