Only print rows with text in col B

G

Guest

I have a summary page that I update each day. I want to add code to my macro
that will only print the rows from Col A to Col F if there is text in col B.
I'm using this code but it doesn't seem to work, do you have any
suggestions, thank you.

ActiveSheet.PageSetUp.PrintArea = _
' "$A$1:$F$" & Cells(Rows.Count, "B").End(xlUp).Row
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top