16
Moderator
#1
Sample VBA Code to print some cells (change the cell number in the code)


Sub PrintSomeCells()
Sheets("Costing").Rows("18:71").EntireRow.Hidden = True
Range("D1:H100").PrintPreview
Sheets("Costing").Rows("18:71").EntireRow.Hidden = False
End Sub
Reply



Messages In This Thread
Print some Cells in Excel - VBA Code - by techberth - 21-11-2019, 06:54 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)