Consider specified cells as empty cells

Rizana

Board Regular
Joined
Jul 7, 2006
Messages
105
I developed a simple program using Microsoft Excel and Visual Basic Editor. In the worksheet, I have specified 10 cells according to their own formula. All the cells contain #N/A sign as to show that the cells contain their own formula ( I guess!)

After executing the program only 6 cells were automatically fill-in with data. What can I do if I want the program to consider the other 4 cells as empty? (eventhough they actually have formulas)

This is because I want the program to automatically hide the empty cells.(cells with no data)

Anyone can help me?
Thank you in advanced
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,214,611
Messages
6,120,513
Members
448,967
Latest member
screechyboy79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top