MrExcel Message Board


Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Mar 30th, 2004, 03:54 PM   #1
beth804
 
Join Date: Mar 2004
Posts: 6
Default Macro to sort

I hope this is easier to understand and that this is posted in the right place.

Cells: C6 to T61, that's the 6-row from the C-column to th T-column. Then down to 61-row.

Trying to sort, ascending, by the I-column, starting at cell I6. I had a macro that worked fine and then for some reason messed up. It is now only sorting from C6 to P61. Completely ignoring columns Q, R, S and T - even though they were included when I recorded the macro.

For example:

Before sort: - in this example sorting by the second column.
a 12 b c
d 03 e f
g 11 h i

After sort:
d 03 b c
g 11 e f
a 12 h i

Notice that rows 3 & 4 have not changed.

My question is why is it doing that and how can I fix it?
beth804 is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
All contents Copyright 1998-2009 by MrExcel Consulting.