Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Excel Page Break on downloaded file based on location

Posted on 2013-06-13
5
Medium Priority
?
337 Views
Last Modified: 2013-06-14
I have a downloaded report that I open in excel.  It is a list of all the appointments for every physician office here in the hospital.  I want to provide a page break based on the change of location.  So if cardiac unit is CAR03 and gastro office is GI1 then I would want a page break between these two offices so when I print this report it will separate the offices.
0
Comment
Question by:kvrogers
[X]
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
  • 3
  • 2
5 Comments
 
LVL 52

Expert Comment

by:Rgonzo1971
ID: 39244671
Hi,

Could you send a dummy example?

Regards
0
 

Author Comment

by:kvrogers
ID: 39244833
Here is a copy of the report.  I just came from a meeting on this and here is what they want.  

This is a report that will be updating constantly.  They would like spreadsheet "Admits" and spreadsheet "Consults" combined and then separated by Physician name.  This should also include some type of Page Break by Physician name so that it can be printed and separated by physician for easy handout.  

Please note that originally column B include patient name.  This column has been removed.
Copy-of-rounds-for-kate.xlsx
0
 

Author Comment

by:kvrogers
ID: 39244891
The combined sheet should be sorted by physician name but print by physician separately for easy handout.  I don't think I made that clear before.

Thanks,
K
0
 
LVL 52

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 39247049
Hi,

In the file attached
The macro associated with the button reads the file you choose, combines the Admits sheet data with the Consults sheet data, sort it by MD and then insert the page break per MD

Regards
CombineLists.xlsm
0
 

Author Closing Comment

by:kvrogers
ID: 39247191
This is just what I was looking for.  Thanks again.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

721 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