Hi,
I would like to sort my worksheet according to colors then by name. How can I do this? I have the VBA code to sort my worksheet by colors.
Thanks in advance for your help.![]()
Please Login or Register to view this content.
Hi,
I would like to sort my worksheet according to colors then by name. How can I do this? I have the VBA code to sort my worksheet by colors.
Thanks in advance for your help.![]()
Please Login or Register to view this content.
Last edited by forest18; 04-07-2013 at 11:11 PM.
The attached workbook adds a new sheet "workspace"
columns A:B hold - tab color:tab name
They are sorted by color code, then by name
the sheets are moved after "workspace" in reverse order
workspace is deleted
Ben Van Johnson
Hi ProtonLeah,
Thank you for your prompt reply. I have tried to create a new workbook but it doesn't seems working. I am pretty sure it's my problem as I am not really good in IT.Do you mind to take a look at my workbook?
Many thanks.
Build the code when almost identical question was asked...
![]()
Please Login or Register to view this content.
In the worksheet you posted, you have a module named Reorder containing a sub also named reorder. Easiest fix is to rename the module, or just leave it as Module2 or whatever it was. You can't have a module and a procedure with the same name, VB won't know which one to use.
Last edited by protonLeah; 04-09-2013 at 05:04 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks