+ Reply to Thread
Results 1 to 3 of 3

Font

  1. #1
    David
    Guest

    Font

    Hi I am trying to check if the value in a cell is in Bold font
    I am writing this using V 2003, but will use it on V 2000

    Thanks,
    --
    David

  2. #2
    Rowan
    Guest

    RE: Font

    Is this what you are after:

    Sub chkBold()
    Dim answr As Boolean
    answr = ActiveCell.Font.Bold
    If answr Then
    MsgBox "Range " & ActiveCell.Address & " is bold"
    Else
    MsgBox "Range " & ActiveCell.Address & " is not bold"
    End If
    End Sub

    Regards
    Rowan

    "David" wrote:

    > Hi I am trying to check if the value in a cell is in Bold font
    > I am writing this using V 2003, but will use it on V 2000
    >
    > Thanks,
    > --
    > David


  3. #3
    David
    Guest

    RE: Font

    Thanks Rowan
    --
    David


    "Rowan" wrote:

    > Is this what you are after:
    >
    > Sub chkBold()
    > Dim answr As Boolean
    > answr = ActiveCell.Font.Bold
    > If answr Then
    > MsgBox "Range " & ActiveCell.Address & " is bold"
    > Else
    > MsgBox "Range " & ActiveCell.Address & " is not bold"
    > End If
    > End Sub
    >
    > Regards
    > Rowan
    >
    > "David" wrote:
    >
    > > Hi I am trying to check if the value in a cell is in Bold font
    > > I am writing this using V 2003, but will use it on V 2000
    > >
    > > Thanks,
    > > --
    > > David


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1