Hi,
I'm trying to update a macros for a print button. I'm trying to only print a row if there is data in column J. This macros is working great for that, but I also have a header that I would like printed (rows 1 to 15) which includes a picture of the logo. Does anyone know how I could update this macros to include the header with picture in the print? Thanks in advance!
Sub Button7_Click()
'prints rows of data, will not print rows if column J is blank
Application.ScreenUpdating = False
Range("J:J").EntireRow.Hidden = False
Range("J:J").SpecialCells(xlCellTypeBlanks).EntireRow.Hidden = True
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("J:J").EntireRow.Hidden = False
Application.ScreenUpdating = True
End Sub
I'm trying to update a macros for a print button. I'm trying to only print a row if there is data in column J. This macros is working great for that, but I also have a header that I would like printed (rows 1 to 15) which includes a picture of the logo. Does anyone know how I could update this macros to include the header with picture in the print? Thanks in advance!

Sub Button7_Click()
'prints rows of data, will not print rows if column J is blank
Application.ScreenUpdating = False
Range("J:J").EntireRow.Hidden = False
Range("J:J").SpecialCells(xlCellTypeBlanks).EntireRow.Hidden = True
ActiveWindow.SelectedSheets.PrintOut Copies:=1
Range("J:J").EntireRow.Hidden = False
Application.ScreenUpdating = True
End Sub