+ Reply to Thread
Results 1 to 21 of 21

custom sort according to header in each sheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-25-2014
    Location
    India
    MS-Off Ver
    Excel pro plus 2021
    Posts
    186

    Re: custom sort according to header in each sheet

    hello sir ,
    its 90 % working in right direction ,
    but its leaving black cells in between .
    if you check my "AFTER" sheet , there is no black cells .

    i think vba calculate A1:E1 from order sheet .
    but actual order should be
    ("A1:A10", "B1:B10", "C1:C8", "D1:D13", "E1:E7")
    but i am happy with this too , thank you for you help and cooperation

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: custom sort according to header in each sheet

    I meant to say, in your sheet "Order" for all data columns, below the cells in each column with Data, there are Blank cells that have something in them, and the code uses the blank cells.
    I don't know whats in them but I had the same trouble as you, before I found out what was causing it.
    What you need to do is move the whole range to some spare place on the worksheet and then Copy and paste back each individual column of data.
    Make sure you only copy the Data in each column.

  3. #3
    Forum Contributor
    Join Date
    04-25-2014
    Location
    India
    MS-Off Ver
    Excel pro plus 2021
    Posts
    186

    Re: custom sort according to header in each sheet

    wow ....prefect ....excellent sir ,

    million thanks for your help and guidance

    and for trying again and again till you found end result ...

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: custom sort according to header in each sheet

    You're welcome

+ 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. VB Code Custom Sort then Insert Header
    By Intalzky in forum Excel General
    Replies: 3
    Last Post: 09-16-2014, 11:06 PM
  2. [SOLVED] How to save a custom header/footer on ea. sheet of a workbook?
    By auditthis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  3. [SOLVED] How to save a custom header/footer on ea. sheet of a workbook?
    By auditthis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  4. How to save a custom header/footer on ea. sheet of a workbook?
    By auditthis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. How to save a custom header/footer on ea. sheet of a workbook?
    By auditthis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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