+ Reply to Thread
Results 1 to 3 of 3

Auto Sort (Descinding) based on a column header using VBA

  1. #1
    Registered User
    Join Date
    04-06-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    13

    Auto Sort (Descinding) based on a column header using VBA

    I have an excel with professional data, I want to Auto sort (descending) based on a column header (Experience), also if on entering new record it should auto sort accordingly, on completing the entries,
    Column A to E, is the entry field, and Column H to J are only display columns.

    Pl. help is providing the VBA code to this request.

    Thank you
    KSK
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Auto Sort (Descinding) based on a column header using VBA

    This code put in worksheet "Person" module, trigger any change in range A1:G5 (If the key column was column C, the last row will be last row in column C that have data)
    Right click on sheet's name/ View Code, then paste below code into
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Quang PT

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

    Re: Auto Sort (Descinding) based on a column header using VBA

    Or

    Please Login or Register  to view this content.

+ 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. [SOLVED] A VBA Function to sort tables based upon a column header
    By papashep in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-22-2020, 02:56 PM
  2. [SOLVED] Rearrange(sort) Columns based on number in Column header string.
    By hifliers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2014, 01:36 AM
  3. [SOLVED] sort based on column value before auto printing
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-22-2013, 08:56 AM
  4. [SOLVED] seeking VBA help to auto sort worksheet based on date in column A
    By leopardhawk in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-29-2013, 12:11 PM
  5. [SOLVED] Sort multiple columns based on column header
    By Langer101 in forum Excel Programming / VBA / Macros
    Replies: 39
    Last Post: 01-09-2013, 09:55 AM
  6. how do you auto sort based on certain column
    By juniperjacobs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-20-2010, 03:28 AM
  7. Auto Sort based on one column
    By tomberlins in forum Excel General
    Replies: 1
    Last Post: 08-25-2009, 12:46 PM

Tags for this Thread

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