Solved

Excel Page Break on downloaded file based on location

Posted on 2013-06-13
5
318 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
  • 3
  • 2
5 Comments
 
LVL 50

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 50

Accepted Solution

by:
Rgonzo1971 earned 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

766 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