?
Solved

MS FlexGrid

Posted on 2003-11-10
6
Medium Priority
?
600 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 60 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

762 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