Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VBA - set my print

Posted on 2012-12-26
2
483 Views
Last Modified: 2012-12-26
Hello All,

I have a vba issue. I have a sheet that has several Hidden columns and Rows. How do I set the print area so that it always sets print area from cell F1 down to the visible rows? For example:
if rows (3-25) is visible, the print area is set to whatever that’s visible in range F1: K25
If row (30 – 52 ) is visible then the print area is set whatever that’s visible in range F1: K52

Thank you
R
printSet.xlsx
0
Comment
Question by:Rayne
2 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 38720866
0
 

Author Comment

by:Rayne
ID: 38721657
Thank you Pratima :)
That works great
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question