Solved

MS FlexGrid

Posted on 2003-11-10
6
594 Views
Last Modified: 2010-05-01
In a flexgrid of 4 columns and 10 rows, how can I make the data in the last row (row 9) bold?
0
Comment
Question by:JFrye
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:g0rath
ID: 9717582
MSFlexGrid1.Row = 9
MSFlexGrid1.CellFontBold = True
0
 

Author Comment

by:JFrye
ID: 9718008
That only made the single cell (Row 9, Col 1) Bold. I need Row 9, Cols 0-3 Bold, please.
0
 
LVL 5

Accepted Solution

by:
g0rath earned 20 total points
ID: 9718035
You have the code for one, it's trivial to do it for N rows

Dim i as Integer
MSFelxGrid1.row = YourRow
For i = 0 To MSFlexGrid1.Cols - 1
        MSFlexGrid1.Col = i
        MSFlexGrid1.CellFontBold = True
Next i
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:JFrye
ID: 9718041
Ok, I figured it out:

Private Sub BoldRow()
   
    Dim intBold As Integer
   
    For intBold = 0 To 3
        grdInfo.Row = 9
        grdInfo.Col = (intBold)
        grdInfo.CellFontBold = True
    Next intBold

End Sub
0
 

Author Comment

by:JFrye
ID: 9718052
Thanks! I actually figured it out seconds after you posted a reply. Hehe... Your first answer definately jump-started me, so you would get the points anyways. Thanks again!
0
 
LVL 5

Expert Comment

by:g0rath
ID: 9718249
No problem, sometimes it takes nothing more that that Ah Hah! Experience
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

867 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

12 Experts available now in Live!

Get 1:1 Help Now