+ Reply to Thread
Results 1 to 2 of 2

VB.NET code for Header Font

  1. #1
    Elena
    Guest

    VB.NET code for Header Font

    I need my header to be in bold.

    This is the code I have so far:

    CDRLWs.PageSetup.LeftHeader = "CDRL: " & ComboBox2.Text & Chr(10) & "DID
    No.: N/A"

    (This is my last question of the day, I promise).

    Thanks!!
    Elena

  2. #2
    Chip Pearson
    Guest

    Re: VB.NET code for Header Font

    Try


    ActiveSheet.PageSetup.CenterHeader = "&B Line One" & Chr(10) &
    "Line Two"

    The &B makes it bold.

    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com



    "Elena" <[email protected]> wrote in message
    news:[email protected]...
    >I need my header to be in bold.
    >
    > This is the code I have so far:
    >
    > CDRLWs.PageSetup.LeftHeader = "CDRL: " & ComboBox2.Text &
    > Chr(10) & "DID
    > No.: N/A"
    >
    > (This is my last question of the day, I promise).
    >
    > Thanks!!
    > Elena




+ 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