Save Workbook When Cells Values are Changed

DrummerAndy

New Member
Joined
Aug 22, 2011
Messages
14
I am the lead tester on a project and my team and I use two Excel workbooks to keep track of testing. First, is a testing workbook that each tester uses to organize and track his/her testing on an enhancement. Second is a summary workbook that I use to consolidate all of the testing by the team.

In the testing workbook, Column C tracks the status of each test of an enhancement (i.e. Not Started, In Progress, Completed, Approved, etc.) When a team member saves a workbook, the stats for the enhancement are populated into a database which is then used to populate my summary workbook.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

I would like to have the testing workbook automatically be saved whenever any cell value in Column C is changed so that my summary workbook stats are always current.
<o:p></o:p>
Thanks in advance for your help.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Welcome to the Board!

It sounds like a Event Procedure (automated VBA code which is triggered upon some event happening) should do the trick. Simply right click on the sheet tab name, select View Code, and copy and paste this code in the resulting VB Editor window. Note that Macros must be enable for this to work:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
'   Every time an entry in column 3 is manually updated, save the workbook
    If Target.Column = 3 Then ActiveWorkbook.Save
End Sub
For more on Event Procedures, check out this link: http://www.cpearson.com/excel/Events.aspx
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,874
Members
452,949
Latest member
Dupuhini

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
Back
Top