Fill Cell

Posted on 2011-02-25
Last Modified: 2012-05-11

I have atatched a ss where you can see the highlighted cell is blank. I would like a piece of code that runs through Column C and says "if A2 is not blank, and C2 is Blanks, "No Source Code"

Question by:Seamus2626
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 24

Accepted Solution

StephenJR earned 500 total points
ID: 34979037
Seamus - do you mean like this?
On Error Resume Next
Intersect(Columns(1).SpecialCells(xlCellTypeConstants).Offset(, 2), Columns(3).SpecialCells(xlCellTypeBlanks)).Value = "No source code"
On Error GoTo 0

Open in new window


Author Closing Comment

ID: 34979072
Smashing!! Thanks

LVL 85

Expert Comment

by:Rory Archibald
ID: 34979073
Stephen - nice. :)
LVL 24

Expert Comment

ID: 34979499
Thank you both!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

732 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