Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want makro which can find out which cells are empty in area a12:a35 and
hide those rows where cells are empty. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Alen32" wrote:
I want makro which can find out which cells are empty in area a12:a35 and hide those rows where cells are empty. One way:- Sub HideRows() For a = 12 To 35 If Cells(a, 1) = "" Then Cells(a, 1).Select Selection.EntireRow.Hidden = True End If Next a End Sub |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
doesn't work.
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Alen32" wrote:
doesn't work. Should do. I trust you copied the lines into a new module ( Alt+F11InsertModule ) |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
it works in some sheets but dosn't work in some others sheets. I don't know
why |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Depends on whether the cells are empty or contain a space, I guess
|
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro code to hide rows and not calculate hidden rows | Excel Discussion (Misc queries) | |||
Macro to hide rows | Excel Discussion (Misc queries) | |||
hide rows with macro | Excel Discussion (Misc queries) | |||
macro to hide rows | Excel Discussion (Misc queries) | |||
Macro to hide rows. | Excel Programming |