+ Reply to Thread
Results 1 to 2 of 2

Problem sorting tables

  1. #1
    Registered User
    Join Date
    03-19-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    2016
    Posts
    48

    Problem sorting tables

    I'm banging my head against the wall trying to sort each table in my workbook alphabetically by first column. My code is as follows:

    Please Login or Register  to view this content.
    It runs fine through some worksheets but stops on one sheet in particular and gives me a 1004 Method Range of object global failed error on the .SortFields.Add line.

    Any ideas how to fix this?

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Problem sorting tables

    It is difficult to understand the error without Excel data.
    Please attach an Excel sample
    - Battle without fear gives no glory - Just try

+ 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. Sorting many tables
    By Mohammed7190 in forum Excel General
    Replies: 13
    Last Post: 04-07-2018, 05:41 PM
  2. sorting tables
    By topdealz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2017, 11:44 AM
  3. Sorting of Tables
    By nephtys03 in forum Excel General
    Replies: 3
    Last Post: 09-07-2016, 11:24 PM
  4. Sorting tables
    By theteej in forum Excel General
    Replies: 6
    Last Post: 07-11-2015, 12:09 PM
  5. Sorting Tables
    By Phill Palmer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2013, 12:26 PM
  6. [SOLVED] Sorting Tables
    By Maviso in forum Excel General
    Replies: 6
    Last Post: 10-25-2010, 11:47 AM
  7. Sorting Tables:highlights the problem
    By D Richardson in forum Excel General
    Replies: 1
    Last Post: 01-11-2006, 08: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