Solved

Flex Grid, Select an Entire Row

Posted on 2000-03-31
2
127 Views
Last Modified: 2010-05-02
I was wondering if it was possible to select an entire row automatically. What I want the user to do is click on a button then a list of the rows will pop up and from there they can select which row they want to remove. I know the user can do it click on a fixed row, I don't want them to do that. I was wondering if there was a way for the program to do it by themselves without the user click on the fixed row.

Thanks.
0
Comment
Question by:da_dawg88
2 Comments
 
LVL 32

Expert Comment

by:Erick37
Comment Utility
Private Sub Command1_Click()
    With MSFlexGrid1
    'set row 2, col 0
    .Row = 2
    .Col = 0
    'select all cols in row
    .ColSel = .Cols - 1
    End With
End Sub
0
 
LVL 6

Accepted Solution

by:
VBGuru earned 50 total points
Comment Utility
check out using
MSFlexGrid1.RowSel
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now