Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Selecting Blank Cells

What is a formula I can plug into a macro to select all blank rows in column
A, then deleting the entire row? Thanks!!!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Selecting Blank Cells

Try:

On Error Resume Next
Columns("A").SpecialCells(xlBlanks).EntireRow.Dele te
On Error GoTo 0

---
Regards,
Norman


"bodhisatvaofboogie" wrote in
message ...
What is a formula I can plug into a macro to select all blank rows in
column
A, then deleting the entire row? Thanks!!!




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Selecting Blank Cells

columns("A").specialcells(xlblanks).entirerow.dele te

HTH
--
AP

"bodhisatvaofboogie" a écrit
dans le message de news:
...
What is a formula I can plug into a macro to select all blank rows in
column
A, then deleting the entire row? 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
Maximum Number of Blank Cells between Non Blank Cells in a Range Mal Excel Worksheet Functions 5 November 3rd 07 08:21 AM
Selecting non-blank cells Dave Excel Discussion (Misc queries) 3 November 2nd 06 08:51 PM
Selecting the first non blank cell in Range VBA Noob Excel Worksheet Functions 2 July 24th 06 07:39 PM
selecting the last non blank row. reefguy Excel Programming 5 April 14th 04 05:23 PM
Selecting first blank row Audio_freak Excel Programming 3 September 6th 03 08:54 PM


All times are GMT +1. The time now is 02:47 AM.

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"