Automatic Sorting Help

ozstephan

Board Regular
Joined
Nov 19, 2005
Messages
52
Hi everyone:
I'm not sure whether I'm asking too much with this wish but I'll give it a go. I have a shared worksheet which consists of 14 columns and approx 100 rows. It is a working document with many users and growing in size. It also has a column which automatically records the last time anything was updated in the corresponding row. This is column 'B'

So what I would like to be able to do is for the spreadsheet to sort in the same way as a Data>Sort but do it by date automatically everytime the date in column 'B' is changed or at least each time the worksheet is saved.

Is this possible?
Thanks everyone.
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
54,839
Office Version
  1. 365
Platform
  1. Windows
Sure, you can do that with VBA code. There is VBA code that is automatically triggered by "events", such as changing the value of a cell, or saving the workbook. These are called Event Procedures.

Here is a good link on Event Procedures:
http://www.cpearson.com/excel/events.htm
 

Watch MrExcel Video

Forum statistics

Threads
1,113,811
Messages
5,544,444
Members
410,610
Latest member
renatha prado
Top