Results 1 to 2 of 2

Thread: Print in italics
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Jun 2017
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Print in italics

    Dear All

    I am using the following code to print my Invoices

    Dim n As Long
    n = Application.InputBox("Number of extra printed copies.?", "Printed Copies", 1, Type:=1)
    If n <= 0 Then Exit Sub ' User canceled
    With ActiveSheet.PageSetup
    .RightHeader = "(ORIGINAL FOR RECIPIENT) "
    ActiveSheet.PrintOut
    If n >= 1 Then
    .RightHeader = "(TRIPLICATE FOR SUPPLIER) "
    ActiveSheet.PrintOut
    End If
    If n >= 2 Then
    .RightHeader = "(DUPLICATE FOR TRANSPORTER) "
    ActiveSheet.PrintOut
    End If
    End With
    End Sub

    I want to print ORIGINAL....... , Duplicate..... and triplicate.... in ITALIC

    Kindly help
    Regards
    ABU

  2. #2
    Board Regular
    Join Date
    Sep 2016
    Posts
    2,572
    Post Thanks / Like
    Mentioned
    36 Post(s)
    Tagged
    1 Thread(s)

    Default Re: Print in italics

    Like this :

    .RightHeader = "&I(ORIGINAL FOR RECIPIENT)&I"

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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