+ Reply to Thread
Results 1 to 8 of 8

sort a to z

  1. #1
    Registered User
    Join Date
    11-09-2023
    Location
    iran
    MS-Off Ver
    2016
    Posts
    5

    sort a to z

    i wanna sort a to z in a table , i can do it but after entering new date i need to do it again ? is there any way to sort automatically without need to click sort a to z again ?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: sort a to z

    If VBA is an option to you, this can be done quite easily.

    A piece of code would run each time you change a cell in a specified range and that code would resort the table.

    BSB

  3. #3
    Registered User
    Join Date
    11-09-2023
    Location
    iran
    MS-Off Ver
    2016
    Posts
    5

    Re: sort a to z

    so i can not do it out of vba ?

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: sort a to z

    I don't think you can automatically sort the data in place without VBA. You could have the list sort elsewhere using formulas alone, but not the actual list itself sorting.

    BSB

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: sort a to z

    Still on XL 2019 ?

  6. #6
    Registered User
    Join Date
    11-09-2023
    Location
    iran
    MS-Off Ver
    2016
    Posts
    5

    Re: sort a to z

    its 2016 version

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: sort a to z

    Your profile says 2019... please change it to the product you are ACTUALLY using.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  8. #8
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: sort a to z

    In VBA it is not really hard. This is all you need behind your worksheet module(where the table is located)

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 01-13-2023, 04:42 PM
  2. Replies: 5
    Last Post: 05-09-2017, 08:48 AM
  3. Replies: 1
    Last Post: 04-16-2015, 06:29 PM
  4. Replies: 1
    Last Post: 03-04-2015, 02:57 PM
  5. [SOLVED] I have a sort macro. How to add script to preselect rows to sort based on column value?
    By Jasonhouse in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-09-2014, 02:25 AM
  6. Replies: 2
    Last Post: 01-15-2014, 09:31 AM
  7. Replies: 4
    Last Post: 11-20-2012, 06:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1