• Printing Images Imbedded into Comments

    Author
    Topic
    #487766

    Is there a better way to print graphics that are within a comment (edit commentformat commentcolor and linesfill colorfill effectspicture) other than using Windows snipping tool? Page SetupSheetPrintCommentsEnd of Sheet (or As Displayed On Sheet) doesn’t work.

    Viewing 0 reply threads
    Author
    Replies
    • #1374621

      Try this:

      Code:
      Sub PrintGraphics()
           Range(“H6”).Comment.Visible = True
           Range(“H6″).Comment.Shape.CopyPicture
           Worksheets(1).PasteSpecial
           Selection.ShapeRange.ScaleWidth 3, msoTrue, msoScaleFromTopLeft [COLOR=”#008000”] ‘CHANGE 3 TO DESIRED MULTIPLE OF ORIGINAL[/COLOR]
           Selection.ShapeRange.ScaleHeight 3, msoTrue, msoScaleFromTopLeft   [COLOR=”#008000″]’CHANGE 3 TO DESIRED MULTIPLE OF ORIGINAL[/COLOR]
           Selection.ShapeRange.Left = 0
           Selection.ShapeRange.Top = 0
           Range(“H6”).Comment.Visible = False
           ActiveSheet.PrintOut
      End Sub
      

      33141-GraphicComment

      To adjust the size, change the 3 (3x original size) to your preference

    Viewing 0 reply threads
    Reply To: Printing Images Imbedded into Comments

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: