MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Advanced sort - for conditional formatting

Posted by Kaveman on November 20, 2001 9:07 AM

I have a worksheet within a workbook that has a conditional format based on Column-C (date received (-) TODAY), the result would appear in column-A as a "number of days elapsed" since date received. Now I would like for the worksheet to sort by Column-A, then by Column-C automatically upon opening the workbook that contains this worksheet. Any ideas????

Posted by Ben O. on November 20, 2001 2:56 PM

If you make a macro called Sub Auto_Open(), it'll run whenever you open the workbook that it's in. So, you just need a macro that sorts by those columns. I recommend recording a macro, performing the operations you want, stop recording, and renaming the macro Auto_Open. If you post the code here, we can help you optimize it.


Posted by Kaveman on November 21, 2001 12:59 PM

End Sub"
but have had no luck in getting it to send the active workbook (pivot chart). I am using Excel 2000, mail client is Outlook 2000?????