Solved

Code - finding null

Posted on 2013-06-05
3
139 Views
Last Modified: 2013-06-06
How can I add to this for Sheet 4 where column AP is null??

Dim c As Integer, i As Long
 ClearSheet "CU_tmp", 2
 i = Sheet4.UsedRange.Rows.Count
 c = FindCol("Compare", 2, "Security CUSIP")
  If i > 65000 Then i = 2
  Sheet4.Range("A3").Offset(0, c).Resize(i, 1).Copy
  Sheet19.Range("A3").PasteSpecial xlPasteValues
  Application.CutCopyMode = False
0
Comment
Question by:leezac
3 Comments
 
LVL 13

Expert Comment

by:Shanan212
ID: 39222911
Do you want make sure that all rows in column AP are null? Could you explain please?
0
 

Author Comment

by:leezac
ID: 39222931
Are empty - no values in AP
0
 
LVL 22

Accepted Solution

by:
rspahitz earned 500 total points
ID: 39226082
Are you looking for something like this:

If Range("AP1").Value = Empty Or Range("AP1").Value = "" Then

Open in new window

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now