Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 90219

If a column header is greater than 0, return the whole column on a new page [closed]

$
0
0

I have a range in Sheet 1 from J11 to BYW3000. Row 11 for each column either contains 0 or a number greater than 0. I want to output the entire column for each column that has a number greater than 0 in of that column's Row 11 onto sheet 2, all of which need to be next to each other on sheet 2. I don't have any code as I am new to VBA and don't know the syntax save for sub(). Would someone be able to help with that?

In short, paste all the columns from sheet 1 that have a value greater than 0 in the heading row onto sheet 2. Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 90219

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>