Share via

Auto sort

Anonymous
2022-11-11T06:04:47+00:00

Curios. I have a sheet with a range A1:A20 that needs to be Filtered A-Z for some formulas to work on other sheets. I have a macro set up to do this but other people that use sheet might not remember to do this. Is there a vba code that i can write to the sheet that if they leave that page that range would be sorted upon exiting sheet

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2022-11-11T08:33:32+00:00

    That will work for now, but I'll leave this open to see if any one has has suggestions

    Thanks for the reply

    Was this answer helpful?

    0 comments No comments
  2. Nikolino 2,120 Reputation points
    2022-11-11T07:26:57+00:00

    You can have a messagebox automatically open when exiting the worksheet with a custom text you could create yourself.

    It's just a suggestion :-), here's the VBA code.

    Private Sub Worksheet_Deactivate()
    MsgBox "your Text"
    End Sub
    

    Was this answer helpful?

    0 comments No comments