Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Checking for all blank cells in a range orcolumn.

How do I check to see if all the cells in a column are blank so I can skip
several lines of code which run a "text to columns" procedure but get hung up
when the cells are all blank. It works fine when there is data in at least 1
cell.

Thanks
--
Mickey
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Checking for all blank cells in a range orcolumn.

Hi Mikey,
this could meet your requirements:

If Application.CountA(Columns(1)) = 0 then Msgbox "First column is
empty"

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
IS BLANK checking 2 Cells MKuria Excel Worksheet Functions 6 March 6th 09 07:31 PM
checking for blank cells when using vlookup Koomba Excel Worksheet Functions 1 September 27th 08 03:30 AM
Checking Blank Cells Karlos Excel Worksheet Functions 2 February 27th 06 12:34 PM
Checking iorAll blank cells in a column. Mikey Excel Programming 1 June 30th 05 03:53 PM
Code works 1st time then Type Mismatch when checking for not blank cells Colleyville Alan Excel Programming 3 February 6th 04 05:21 AM


All times are GMT +1. The time now is 08:25 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"