Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select range of cell and clear all

Status
Not open for further replies.
Is that an MSFlexgrid?

If so, then something like

Code:
[COLOR=blue]With MSFlexGrid1
    [COLOR=green]' Row and Col properties must be set before RowSel and ColSel[/color]
    .Col = 1
    .Row = 1
    .ColSel = 2
    .RowSel = 2
    .Clear
 End With[/color]

Please remember this is an example/illustration on how to do this, not an exact code solution to your exact problem. I leave it to you, as a programmer, to figure out the correct col, row, colsel and rowsel values for your particular situation
 
Two thoughts here:

1) You could test it yourself
2) You could read the VB6 documentation, a link to the online version of which I provided you almost a year ago
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top