Link to home
Start Free TrialLog in
Avatar of aboka
aboka

asked on

Multi Select MSFlexGrid

Hi! I have a VB6 MSFlexGrid control and the 'SelectionMode' is '1- By Row'. I would like to loop thru the grid and all thats selected(multi-selected) and 'print' them. But it will only 'print' the top most item. Below is my sample code -

For i = 1 To MSHFlexGrid.Rows -1
  MSHFlexGrid.Rows = i
  If MSHFlexGrid.RowSel = True Then Debug.Print MSHFlexGrid.Text
Next


Please advice and thank you,
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aboka
aboka

ASKER

To TimCottee -

Thank you very much ;)