|
-
Jul 17th, 2010, 01:24 PM
#1
Thread Starter
Junior Member
[RESOLVED] Sorting Excel File, By Colour of Row
Simple realy.
I've read an excel file with VB6, and due to certain criteria Have coloured Some Rows Red(3) Green(4) Blue(8) Yellow(6) scattered thru the spreadsheet, the remainder left default, this file is then saved.
Now the person I did this for wants to know if I can sort all the colors together.
He is not too bothered about sequence, but would like the greens ones first.
Is there anyway to do this? or is it easier to pass thru the file again , and using a blank column, set that to a value (for each colour) to allow me to sort on that?
Thanks in advance for your replies.
-
Jul 17th, 2010, 02:32 PM
#2
Re: Sorting Excel File, By Colour of Row
Yes that would be easier.
The other way would be to loop through all line check if it is green in color. If it is then cut and insert(and not paste) it before 1st row. Repeat process till you have colors bunched together.
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Jul 17th, 2010, 03:31 PM
#3
Thread Starter
Junior Member
Re: Sorting Excel File, By Colour of Row
Thanks Kooldsid, thats what I thought.
It's just nice to have it confirmed!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|