Solved

Code - finding null

Posted on 2013-06-05
3
158 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel IF formula 3 21
Excel. How to get via VBA the last used row in a named dynamic range 10 37
Request to review costing formula 3 36
sumifs excel 2013 3 16
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

809 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