troubleshooting Question

Conditional copying VBA

Avatar of Andreas Hermle
Andreas HermleFlag for Germany asked on
Microsoft Excel
2 Comments1 Solution431 ViewsLast Modified:
Dear Experts:

For the selected range (contiguous range) I would like to perfrom the follwing actions:
Example contiguous range D7:D300

... Select only those cells that have a grey fill (RGB 222, 222, 222), so the intial contiguous selection is converted into a noncontiguous selection
... If the cell directly above the selected grey cell hase an entry, this entry is to be copied down into the grey cell, if there is no entry do nothing
...loop, i.e. the macro is to check all grey cells for this requirement.

I have attached a sample file for your convenience.

Thank you very much in advance.

Regards, Andreas

Copy-Conditional.xlsx
ASKER CERTIFIED SOLUTION
StephenJR

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 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 2 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