+ Reply to Thread
Results 1 to 4 of 4

Cant figure out how to automatically sort specific cells.

  1. #1
    Registered User
    Join Date
    10-22-2017
    Location
    Jacksonville, FL
    MS-Off Ver
    365
    Posts
    73

    Cant figure out how to automatically sort specific cells.

    Dear Friends,

    I have found several ways to autosort Columns with macros. I can't find a way to autosort a select block of cells with Macros. I am making a calendar. When I click on a date. I want to enter the time on that Calendar date, enter data, and then have macros auto sort the times for that date only. For instance I want to auto sort cells C7:C13 only. Hope that somebody can help.

    Bob

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Cant figure out how to automatically sort specific cells.

    .
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-22-2017
    Location
    Jacksonville, FL
    MS-Off Ver
    365
    Posts
    73

    Re: Cant figure out how to automatically sort specific cells.

    Thank you for your help. Unfortunately I keep getting a Complile Error: Expected end sub with the macro. What am I doing wrong?

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: Cant figure out how to automatically sort specific cells.

    .
    Paste the macro into a Routine Module. Activate the macro with a command button attached to the macro.
    Attached Files Attached Files
    Last edited by Logit; 04-16-2018 at 11:58 AM.

+ 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. Automatically sort cells in one sheet based on values in another
    By tubells in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-10-2016, 12:24 PM
  2. [SOLVED] Automatically sort specific data
    By Rheanna in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-19-2014, 05:42 PM
  3. Replies: 0
    Last Post: 10-15-2014, 03:44 PM
  4. Automatically use a set of numbers to return a specific figure?
    By atkinsd91 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2014, 09:09 PM
  5. [SOLVED] Share a figure among specific cells
    By Mr. H in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-14-2014, 05:51 AM
  6. Automatically Sort Cells?
    By MisterEis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2012, 02:33 AM
  7. Clear contents of cells that do not contain specific text, sort cells that do
    By feckless.lout in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-27-2010, 01:41 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