excel print question


I have many ranges in an excel worksheet
Range1 to Range10
Question : Is it possible to :

1) print a range by giving a range name (to chose in a range list for example)
2) print all ranges at the same time, each range on a separate page?

Thank you
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob HensonFinance AnalystCommented:
If you have the Range selected there is an Option in the Print Dialogue to print Selection.

Are they firm ranges or dynamic? If firm, you will be bale to select them in the Range Selector, to the left of the formula bar, and then Print Selection.

Rob H
You would need to create a VBA script for that, or you could record a macro to print each range (if the ranges never change). In the script or the macro, you'd have to define the print area to be whatever range you want to print, and then issue the print command.
gadsadAuthor Commented:
Range are static and never change

The easiest I think is to create a macro for every range (10 different macros printing 10 static ranges)
and one more macro for all ranges together, one after the other

Each macro associated with a keyboard letter

I do not have any experience with macros. Is it easy?

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

It's pretty easy. Which version of Excel do you use?
gadsadAuthor Commented:
Excel 2010
Rob HensonFinance AnalystCommented:
Do you have the Developer tab visible in your Excel?

If so it might be worth using the recorder to create the routine for at least one range; this will then give the correct Printer and Range name configurations.

Copy and paste recorded code here and with that info folks on EE with more VBA knowledge will be able to expand on it for you.

Rob H
Here's a tutorial for doing it.

Basically, just figure out the exact steps of selecting each range and then printing that range, and then record a macro using those exact steps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gadsadAuthor Commented:
I will try the macro solutions
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.