Automatically hide entire Rows with zero Values
I have created a Profit and Loss Statement but I want the rows where there are zero balances to be automatically hidden - or - a Code to be written which I can insert into a Macro.
I also want the capability to unhide those rows, by say a Macro
Anwsers to the Problem Automatically hide entire Rows with zero Values
Lets suppose the balances are in column C between C2:C100
Private Sub Worksheet_Change(ByVal Target As Range)
Dim cell As Range
For Each cell In Range("C2:C100")
If cell <> "" Then
If cell = 0 Then cell.EntireRow.Hidden = True
You can unhide the rows manually. Or a similar macro with Hidden = False
If this answer helps, please click the Vote as Helpful button.
Cheers, Shane Devenshire
Make Sure that your Hardware Meets the System Requirements
Microsoft Windows Requirements :
- 1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor
- 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
- 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
This error can be due to some configuration requirements for you system. If your computer hardware is not up to par, then make sure you upgrade where necessary before continuing.
Another Safe way to Fix the Problem: Automatically hide entire Rows with zero Values:
How to Fix Automatically hide entire Rows with zero Values with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your system. Run it, and it will scan your computer. The junk files will be shown in the scan result.
2. After the scan is done, you can see the errors and problems which need to be fixed.
3. When the Fixing part is done, your computer has been speeded up and the errors have been fixed
Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: How to Fix - Attachments to email?,Tech Support: Atheros AR9485WB-EG Wireless Network Adapter adapter is experiencing driver- or hardware-related problems,Tech Support: AutoCad \"Fatal error: Unhandled e06d7363h Exception at 7584b727h,Troubleshooting:Automatically sorting data by date and paste into another sheet. Error,Troubleshooting:Auto Number in Word Templates,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?