Avatar of Wilder1626
Wilder1626
Flag for Canada asked on

VB6 convert MSHFlexgrid1 cells no2

Hi,

This topic follow the previous one on this link:
https://www.experts-exchange.com/questions/28959455/VB6-convert-MSHFlexgrid1-cells.html?anchor=a41728752&anchorAnswerId=41728752#a41728752

I need to add 1 small thing to previous code when in column 4, i need to add a sequence number.

Just as a recap:
What i would like to do is that if i have multiple rows with the same value in column 0, 1 and 11, it will leave all cell populated  as it is and also add the letter "H" in column 3 of the first row only.
Then, it will empty the value in column 2 and add the letter "D" in column 2.

Now i want to add in column 4 the sequence number always matching column 0, 1 and 11 combination.

Ex:

Before:
before
After macro:
after_result
How can i do that?

Thanks for your help
Filter-grid.zip
Visual Basic Classic

Avatar of undefined
Last Comment
Wilder1626

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Martin Liss

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Wilder1626

ASKER
And again, it does exactly what i wanted.
 Thank you again and again!!!!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck