Wednesday 28 March 2012

How to Hide and Show a Row in Excel with VBA with For Loop Statement

Title:
How to Hide and Show a Row in Excel with VBA with For Loop Statement


Video:


Description:This video shows How to Hide and Show a Row in Excel with VBA using a For Loop Statement: Sub HideRow() For rep = 10 To 14 Sheets("Sheet1").Rows(rep and ":" and rep).EntireRow.Hidden = True Next rep End Sub Sub ShowRows() For rep = 10 To 14 Sheets("Sheet1").Rows(rep and ":" and rep).EntireR...

Published:
28/Mar/2012

No comments:

Post a Comment