+ Reply to Thread
Results 1 to 2 of 2

Alphabetically auto sort columns

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2007-2010
    Posts
    1

    Alphabetically auto sort columns

    Hi, I'm a new member.

    I recently started using excel to manipulate data. I have created a few workbooks and I am working on a new one that I need some help with from the masters.

    I own a service company and I would like to make a client contact list with the clients name, building address, cell number, office number, fax number and email address and how they relate to the building (eg superintendent or owner etc) each in a different column.

    I need a macro that will take data in columns B-H starting at row 2 and auto sort it alphabetically when new entries are added after the row is completed. It needs to sort alphabetically by the data in column B and maintain all the other info in the row when it sorts.


    Thanks in advance for all the help.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Alphabetically auto sort columns

    Hi higgins

    Welcome to the Forum!

    If you wish this to be automated you'll need to define what's going to trigger the Code and the Code will need to be written in a Worksheet Change Event Macro.

    If you wish to run the Code from a Button, place this Code in a General Module and assign the Code to the Button. Change the Sheet Name as indicated.
    Please Login or Register  to view this content.
    I'd suggest you may wish to look at using a UserForm to automate this process.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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. Auto sort alphabetically using basic macro
    By Tyler1226 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-20-2012, 04:18 PM
  2. Auto Sort Alphabetically
    By gadjit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-01-2012, 06:30 PM
  3. Replies: 0
    Last Post: 08-22-2011, 04:18 PM
  4. Alphabetically Sort Columns Using Top Row
    By ryevick in forum Excel General
    Replies: 3
    Last Post: 12-30-2008, 12:40 PM
  5. Auto Sort Alphabetically
    By jollygoodfellow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-18-2008, 10:37 AM

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