Results 1 to 2 of 2

Sort and merged cells

Threaded View

  1. #1
    Registered User
    Join Date
    09-15-2006
    Location
    Brum
    Posts
    6

    Unhappy Sort and merged cells

    Hi,
    I have a workbook that managers input who is off work and who has returned (in a nutshell).
    I have 14 rows that the names go into and 6 columns next to them.
    The columns have info for why the persons off, what actions were taken, how many days they've been off ect.
    When the manager picks who has returned to work (using a combobox on a users form that has a dropdown list which range is that of the names in the first column) it removes the name and the other info from the row the name was in.

    This leaves a gap in the data along the row.

    I need to remove the gaps and sort the data in the reason they are off, i.e sick, service day, maternity ect.

    All of the rows have 2 cells merged apart from the last 1. I can not use the sort function because off this.

    To get round it I unmerge the cells, sort the data, merge the top 2 cells in the first column, copy it down the remaining 13 rows with format only, then repeat for the remaining 5 columns.
    This puts a thick black boarder on all the cells because the top cell has a thick boarder.

    I have to then select all the cells and format the boarders back to how they were.

    The macro runs slow and it looks a mess as its running.

    Can anyone help me clean it up?

    If you have read all that, thanks.
    Last edited by asyrip; 09-26-2006 at 02:48 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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