LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Identify Blanks; All Listed in Column AX

I am trying to find all blanks in my used range; my used range which goes
from E3:W330 and from Y3:AE330. I keep getting results like $AG$1, $AH$1,
$AI$1, $AJ$1, all listed in column AX (vertically). I am wondering how to
tell Excel just to look in E3:W330 and in Y3:AE330. Also, I am interested in
getting results in each row, such as $E$3, $F$3, $G$3 (all in one cell or in
one cell and then offset 0,1), if these cells are blank, and when all blanks
are found, shift down one row (offset 1,0) then identify any blanks in that
row. Does this make any sense? Any assistance would be sincerely
appreciated!

The code that I am using now is listed below:

Sub FindBlanks()

Dim rngBlanks As Range
Dim rngToPaste As Range
Dim rng As Range


On Error Resume Next
Set rngBlanks = Cells.SpecialCells(xlCellTypeBlanks)
On Error GoTo 0

If Not rngBlanks Is Nothing Then
'Worksheets.Add.Name = "Summary"
Set rngToPaste = Sheets("15.1 Detail - Madeup").Range("AX3")
For Each rng In rngBlanks
rngToPaste.Value = rng.Address
Set rngToPaste = rngToPaste.Offset(1, 0)
Next rng
End If
End Sub


This is just a sample; it doesn't really do what I want (as described above)

Kind Regards,
Ryan---
--
RyGuy
 
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
Sum Column Entries that fall within Date Range Listed In Rows Ben Excel Worksheet Functions 4 July 10th 06 05:43 PM
How to sort by ZIP codes listed in one column in Excel spread sh? Indian Scout Kit Carson Excel Discussion (Misc queries) 2 February 4th 06 10:26 PM
compare a list of data and have it listed from least to greatest in another column dominix New Users to Excel 2 September 23rd 05 12:40 PM
identify numbers which are listed in two columns. the_kane Excel Worksheet Functions 1 March 8th 05 06:21 AM
Copy Excel data content listed in 3 columns into a single column mooorrona Excel Programming 1 January 12th 05 04:14 AM


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