Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Hide show blanks

Hi
I have an Excel sheet that has the AUTO FILTER ON
I would like a macro that will hide all the blanks in a col when that col is
selected
Would appreciate any help

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Hide show blanks


This will select all non-blanks in Column A:

Columns("A:A").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="<"

"PCOR" wrote:

Hi
I have an Excel sheet that has the AUTO FILTER ON
I would like a macro that will hide all the blanks in a col when that col is
selected
Would appreciate any help

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Hide show blanks

Thanks...but....can you give me a macro that will show all non blanks and
"any selected column"
Thanks

"Toppers" wrote in message
...

This will select all non-blanks in Column A:

Columns("A:A").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="<"

"PCOR" wrote:

Hi
I have an Excel sheet that has the AUTO FILTER ON
I would like a macro that will hide all the blanks in a col when that col
is
selected
Would appreciate any help

Thanks





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Hide show blanks

Possibly:

Selection.EntireColumn.AutoFilter Field:=1, Criteria1:="<"

--
Regards,
Tom Ogilvy

"PCOR" wrote in message
...
Thanks...but....can you give me a macro that will show all non blanks and
"any selected column"
Thanks

"Toppers" wrote in message
...

This will select all non-blanks in Column A:

Columns("A:A").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="<"

"PCOR" wrote:

Hi
I have an Excel sheet that has the AUTO FILTER ON
I would like a macro that will hide all the blanks in a col when that

col
is
selected
Would appreciate any help

Thanks







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Hide show blanks

Worked great...thanks
"Tom Ogilvy" wrote in message
...
Possibly:

Selection.EntireColumn.AutoFilter Field:=1, Criteria1:="<"

--
Regards,
Tom Ogilvy

"PCOR" wrote in message
...
Thanks...but....can you give me a macro that will show all non blanks and
"any selected column"
Thanks

"Toppers" wrote in message
...

This will select all non-blanks in Column A:

Columns("A:A").Select
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:="<"

"PCOR" wrote:

Hi
I have an Excel sheet that has the AUTO FILTER ON
I would like a macro that will hide all the blanks in a col when that

col
is
selected
Would appreciate any help

Thanks









Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart Blanks Out When I hide data column JMay Excel Discussion (Misc queries) 1 December 1st 08 07:34 AM
Auto update a list and don't show blanks Chris Rees Excel Worksheet Functions 0 February 27th 08 12:01 PM
How to hide blank rows after data whilst leaving some blanks. thomsonpa New Users to Excel 0 January 10th 08 06:05 PM
Show Non Blanks using MS Query hjm Excel Discussion (Misc queries) 2 December 14th 06 04:58 PM
Show value 0 in blanks fields juan Excel Programming 0 October 18th 04 05:38 PM


All times are GMT +1. The time now is 07:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"