|
| |||||||||
| Tags: excel 2007, macros, windows xp |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Hiding rows in Excel 2007 using macros
I am using excel 2007 on my windows xp computer and i want to know the procedure for Hiding rows in Excel 2007 using macros. Do i need to change any setting any work sheet to hide row? |
|
#2
| ||||
| ||||
| Re: Hiding rows in Excel 2007 using macros
A very handy feature of Excel is its ability to hide rows and columns from a sheet without affecting calculations in any way. To hide row in excel 2007 : Right click on the row header of the row to be hidden. Choose Hide from the menu. The selected row and the row number will be be hidden from view. |
|
#3
| |||
| |||
| Re: Hiding rows in Excel 2007 using macros
Follow the example given below to hide and unhide the row : Code: Sub HideShow() Rows(6).Hidden = Not Rows(6).Hidden End Sub |
|
#4
| ||||
| ||||
| Re: Hiding rows in Excel 2007 using macros
Hiding rows or columns in excel can be performed by selecting the row or column you wish to hide and going to Format>Row (or Column) >Hide or try the given program : Code: Sub HiddenRow()
For Each cell In ActiveSheet.Range("Q6:Q137")
If cell1.Value = "y" Then cell1.EntireRow.Hidden = True
Next
End Sub |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Hiding rows in Excel 2007 using macros" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Excel 2007 macros have disappeared | LakshanA | Windows Software | 4 | 09-11-2010 09:13 AM |
| How to Run Excel 2003 Macros in Excel 2007 | Ekanga | Windows Software | 5 | 19-07-2010 03:37 PM |
| Hiding zero values on a chart in Excel 2007 | mellisahi | Windows Software | 4 | 12-11-2009 09:37 AM |
| 2007 Excel Headache: Macros | DHR | Windows Software | 4 | 28-04-2009 07:18 AM |
| How do i automatically number rows in Excel 2007 | Atilla | Windows Software | 3 | 21-04-2009 11:48 AM |