troubleshooting Question

VBA code Excel to Find column then look for null cells

Avatar of rhadash
rhadash asked on
Visual Basic Classic
6 Comments1 Solution477 ViewsLast Modified:
I have attached sample spreadsheet - dummy data.  Data in spreadsheet will sometimes have the last and first names in the same cell.  See column RALast (CO).  I will get hundreds of records and want to have a macro that will find the RAFirst column (CP) and look for nulls.  
If column RA First (CP) has null value and column CO has Last and First name then cut the First name and move it to column CP. Always RALAST RAFirst separted by space.

If column CP has null value and column CO is also null then there is nothing to do.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros