troubleshooting Question

How do I copy only filled cells with a macro?

Avatar of eureka15
eureka15Flag for United States of America asked on
Microsoft ExcelVB Script
14 Comments1 Solution444 ViewsLast Modified:
I need to copy cells that have been filled from one sheet to other sheet.

The cells to be copied on sheet1 are B7:21 & E7:11 & H7:16. They need to be paste on sheet2 all in one column A1 with NO blank spaces. (see file)

Here is the hard part:
Sheet1 columns will be B E H K N Q T W. These columns will change on how many cells are filled with serial numbers, I still need to copy and all of them on sheet2 in column A with no blank spaces.

I have added a file to help explain.
Join our community to see this answer!
Unlock 1 Answer and 14 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 14 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