Print Header..Change font size and also the colour

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirubagari
    New Member
    • Jun 2007
    • 158

    Print Header..Change font size and also the colour

    Hi Experts,

    Kindly help.This is my header

    Code:
    sHeader = "/cABC MALAYSIA SDN BHD" _
                     + "/n/cNYNAME" _
                     + "/n/cNEWYORK , UNITED STATE" _
                     + "/n/n/c SUMMARY" _
                     + "/n/n/lLOT ID: " + rc.Lot.Id + "/n"
    Code:
    19       '  Define the header text
    20       Me.vaETestData.PrintHeader = sHeader
    I need to make the font size the LOTID string bigger compare to other string..The string was appended with other string ..How the lot id font size can be set bigger?
    Im calling print header function and the size of the header is standadized..Wh at need to be done if i want to make LOTID string font bigger?
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    try something like this:
    Code:
    Dim MyStr As String
    MyStr = Chr(27) + "!" + Chr(18) + rc.lot.id + Chr(27) + "!" + Chr(0) + Chr(18)
    sHeader = "/cABC MALAYSIA SDN BHD" _
                     + "/n/cNYNAME" _
                     + "/n/cNEWYORK , UNITED STATE" _
                     + "/n/n/c SUMMARY" _
                     + "/n/n/lLOT ID: " + MyStr + "/n"
    Regards
    Veena

    Comment

    Working...