ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Remove Blank values (https://www.excelbanter.com/excel-programming/443946-remove-blank-values.html)

Raghavendra[_2_]

Remove Blank values
 
Hello Techies,

I am very new to Excel VBA programming.

I would like to write a macro for drawing a Pivot Table based on a
selected data.

The selected data might also contain Blank/Null values.

Now my question is how do I remove those NULL values.

Testdata

Count a b c
IAT1
IAT2 1


As you can see in the testdata above, the columns 'a' and 'b' doesnot
contain any value. I would like to remove those columns.

Is there any way how can filter it?

Javed

Remove Blank values
 
Do you want to delete the columns if it contains only blank/null
or
Do you want to delete the contents only if it contains only blank/
null

Raghavendra[_2_]

Remove Blank values
 
On Nov 26, 2:15*pm, Javed wrote:
Do you want to delete the columns if it contains only blank/null
or
Do you want to delete the contents only if it contains only blank/
null


Hello Javed,

Thanks for the reply.

I would like to delete the columns if it contains only blank/null.

Any help would be very greatly appreciated.


All times are GMT +1. The time now is 10:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com