Print Various Populated Rows From Different Worksheets Onto The Same Page

Sep 30, 2006

I'm trying to print populated rows from 5 different worksheets. I can get them to print out onto 5 different sheets of A4 but would ideally like them to print underneath each other (continous and use less paper) as some times one sheet may only have one populated row.

Application. ScreenUpdating = False
Dim printer1 As Range
Dim printer2 As Range
Dim printer3 As Range
Dim printer4 As Range
Dim printer5 As Range

Sheets("xxxx").Select
Set printer1 = ActiveSheet.Range("a9", Range("i65536").End(xlUp))

Sheets("xxxx").Select
Set printer2 = ActiveSheet.Range("a7", Range("i65536").End(xlUp))

Sheets("xxxx").Select...............

View 2 Replies


ADVERTISEMENT

VBA To Auto Select Last Populated Print Page

Feb 19, 2014

I have a sheet that already has page breaks set at specific intervals to ensure the data is displayed in a certain way on print, I can only have whole pages. The variable is how many pages are printed on each project, which can be anything between 1 and 20 or more. I have a few columns that contain line numbers, and formulae down the entire length of the sheet, so a basic last populated cell search won't work, but the column I'd like to focus on is Col F, which only has blank/empty cells below the last used one in use. Is it possible to have a BeforePrint code find the last populated cell in Col F and simply capture which print page number it is in, and set that as the number of pages to print?

So in summary, I'd like to be able to just hit Print, and the code will automatically set the number of pages to print based on which page contains the last populated cell in Col F.

View 2 Replies View Related

Print To Fit All Rows And Column On One Page And Take Up Entire Page?

Oct 16, 2013

I have a sheet that changes the number of columns based on data from other sheets. This is the only sheet in the workbook that I will print out every day. I have it set right now to fit all columns on one page, however sometimes this will result in the bottom 1/3rd of the sheet not being used. If I use fit all rows on one page, then some of the columns will get cut off. Is there a way to scale in both directions? My guess is there is not, but I thought I would ask because it would work great for me if I could.

View 4 Replies View Related

Multiple Rows - Show Sum At The End Of Every Print Page

Nov 16, 2012

I have an Excel sheet with several thousand rows. Now I want to create a report using this Excel file such that when I print the Excel File it must be limited to a specific number of row for instance 100 rows per page and at the bottom of that page I want Excel to display the sum of the above 100 rows for one single column. If I do this manually it would take hours therefore I want either a Macro for this or some shortcut to achieve what I am looking for.

View 1 Replies View Related

Print Footer Rows At The Bottom Of Every Page

Jun 1, 2013

I have a TAB Named: Sheet18. I already set up the Header rows to print at the top of every page. Now I need to know how to set up to print the Footer at the Bottom of every-page the footer is A4804:Z4806, i need this rows printed at the bottom of every page when i print.

View 1 Replies View Related

Pagebreaks: Grouping Rows Together So Print On Same Page

Feb 27, 2007

I have a report that shows 3 lines for each item. Is there a way to group sets of 3 rows together so they print on the same page so that it would insert a page break either before or after each set of 3 rows, not between them.

View 9 Replies View Related

Macro To Print Page Based On Active Page

Jun 29, 2007

I need a macro that will print a hidden page that is linked to the page I have active.

It needs to be able to find the correct hidden page that corresponds to the active page because there are multilple pairs of the hidden/visible pages. The name of the hidden page is the same as the visible one with "printout" added to the end. When created, the sheet code names are sheetn and sheetm; n and m being consecutive numbers.

View 3 Replies View Related

VBA To Look At Tha Last Cell That Is Populated In Column And Set Print Area

Mar 8, 2007

I have a template worksheet that several people use and print from.
The range on this worksheet used is A1:C499

I want the VBA to look at tha last cell that is populated in column A and set the print area to suit.
i.e. the last cell used in column A could be A277. then I'd want the print area to be A1:C277.

View 9 Replies View Related

How To Find Last Populated Cell In A Row In Multiple Worksheets

Jan 12, 2013

I have a spreadsheet with many worksheets, everyone except the first representing a year. Every worksheet has twelve tables (the months), the first row of each table has the days of the month and the second row has the data that I put on a daily basis. The first worksheet calculates statistics using the data from the other worksheets.

I am looking for a formula that returns the date by finding the last populated cell and looking right above it, so I can use this info in the first worksheet to show when the spreadsheet was last updated.

View 2 Replies View Related

Order Form (worksheet) Populated Sequentially With Items Selected From Other Worksheets?

Feb 6, 2013

I have a workbook with a series of worksheets with stock lists and pricing that I would like a user to be able to select items on (say, with a checkbox) that would then automatically populate a separate master Order Form sheet. The Order Form sheet is currently blank, with headers, and I would like only those items selected on the various stock sheets to be displayed on the Order Form.

View 4 Replies View Related

Print The One Page

Dec 29, 2009

I have an Excel 2007 file with a number of tabs, about 15. All has worked well until today. All of a sudden I want to print one page and the preview shows I have 300 pages selected!!!!

I cleared all print ranges,even on hidden files. No luck.....

I only selected one page. it tells me my print margins are off but it will not let me get to any changes in page setup......

I tried printing a few of them and I just get the top few rows of each page.

View 4 Replies View Related

Print Only First Page?

Mar 11, 2014

Can you make excel only print the first page automatically without adjusting settings each time in the print box?

View 1 Replies View Related

Set To Print One Page

Apr 18, 2007

How can I set a workbook to only print the first page without printing it? I want to apply it to a folder full of xls workbooks so whenever a user opens one to print, they can just hit print.

I have tried:

ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1, Collate:=True

but it sends the file to the printer. I do not want to have to use a macro in each file, I just want to use an existing xls workbook to apply the settings to many other xls workbooks.

View 3 Replies View Related

Print Preview The Page

Nov 23, 2008

I set up a passworded spreadsheet and saved it to my documents folder. I then copied it across to a network area I use to link to a company I work with. The file opens ok on the password but the page is completely white and I can see nothing at all! When I print preview the page I can see all my information but this doesn't help when I need to update it.

Not only that, the whole lot of excel spreadsheets I have both on my documents and the network area are doing the same thing! I've no idea how it's happened or what to do to retrieve the page view.

View 2 Replies View Related

Tab Name To Be Header For Print Page

Nov 24, 2008

I would like to have the tab names as part of my header for printed report. Can I automate that process?

View 2 Replies View Related

Print 1 Report Page For Every Row.

Jan 16, 2010

how to print one report page for every row on a sheet. So if I have 300 rows containing personal info like name phone email I would like to print the data out in a separate formated report for each person.

View 3 Replies View Related

Print A Header Row On All But First Page.

Oct 23, 2008

I have a database that starts on row 10 with header information in row 9 explaining the purpose of the data for each column. In rows 1 through 8 I have general information that when I print the database - I would want on the first printed page (as well as the beginning rows of the database) and have the remaining print pages be the remaining portions of the database but have the header row (row 9) at the top of each - like a header row.

I know how to goto FILE > PAGE SETUP > SHEET > ROWS TO REPEAT AT TOP: - but this will put row 9 at the top of ALL pages...which I want, but not on the first page. I'm ok with making a print button with a macro...but no idea where to begin with the vba code to do this.

View 3 Replies View Related

Print Macro To Fit Page

Apr 1, 2012

I have a macro to print out page 9 but what i whant it to do is to print and fit to full page. how do i do that?

Code:
ExecuteExcel4Macro "PRINT(2,9,9,1,,,,,,,,2,,,TRUE,,FALSE)"
With ActiveSheet.PageSetup
.FitToPagesWide = 1
.FitToPagesTall = 1
End With

View 1 Replies View Related

Print Footer On Last Page Only - VBA?

Jul 21, 2013

I am working on workbook having more then 15 sheets and i want to print the cell reference (L3:P14) as footer automatically but only on the last page printed.

View 2 Replies View Related

Print Columns On One Page

Jun 12, 2014

How do I print columns A:I, and calculating rows dynamically, to fit on one page in portrait.

View 2 Replies View Related

Count The Page Print

Apr 25, 2007

I have a page i want to print fx. 50 copies of, then when i choose to make 50 copies it should automaticly insert this on the page:
Page 1 out of 50
Page 2 out of 50
Page 3 out of 50
and so on...

View 9 Replies View Related

Print Selected Worksheets As One Print Job

Apr 23, 2008

I have a macro to print selected worksheets. It works well with one small problem. Whether I select the last worksheet or not, it always prints. I have tried a bunch of different ways to get around this, and all I succeeded in doing was getting a separate page printed first, then it would print the rest of my selection.

Sub PrintReportSelection()
Sheets("Actual").Select
Application.Goto Reference:="Actualprint"
ActiveSheet.PageSetup.PrintArea = "Actualprint"
Sheets("Deposits").Select
Application.Goto Reference:="Depositsprint"
ActiveSheet.PageSetup.PrintArea = "Depositsprint"
Sheets("Debt").Select
Application.Goto Reference:="Debtprint"
ActiveSheet.PageSetup.PrintArea = "Debtprint"
If Range("SelectVariance") = True Then Sheets("Variance").Select.........................

View 6 Replies View Related

Print Multiple Worksheets As 1 Print Job

Jun 2, 2008

I'm using VBA code to select several worksheets at once, and print them. The code runs fine, but the result is multiple print jobs, not one job. This is OK when printing to the printer...but undesireable if you want to print to a pdf file, for example.

I've searched the site and found some references to this possibly being an excel problem. Is that true?

I've also checked the page setup setting to make sure that the print resolutions are all the same...that doesn't appear to be the problem either.

View 6 Replies View Related

Print Sheet To One Page With Button?

Mar 29, 2013

I have a sheet that I would like to print to one page (11x17, landscape) and have it take up the majority of the page. The largest the sheet will ever be is data in rows 1 - 71, and columns A - AC. Right now I have it set up so that when i click on the button, the print dialog opens up and no adjustments are needed to print to pdf in 11x17 for the maximum amount of data.

Overall what I am trying to do is have the zoom change when rows are deleted (columns will always be A-AC). The top 5 rows and bottom 5 rows will always be there. I want the top and bottom margins to be the same on the pdf even if 10 rows are deleted in between.

View 1 Replies View Related

Set Print Area To End Of Text On Page

Aug 7, 2009

I have a problem when I want to print, it will only print a set area. How to I make it print everything, so it prints everything till the last letter on the page?

View 10 Replies View Related

Print A Page Showing The Formulas?

Feb 4, 2013

I want to print a page showing the formulas as I have to create many spreadsheets using similiar formulas. Is there a way to print a page viewing formulas put in each cell?

View 4 Replies View Related

How Print Long List On One Page

Aug 27, 2013

I have a spreadsheet with only entries in column A - 154 cells. Nothing in other columns. When I try to print, it says it'll be 4 sheets long...

1
2
3
4
down to
154

How can I get it to print in a snake-like fashion so all on one page?

View 2 Replies View Related

How To Print A List Of Names With Each Name On A Page

Mar 24, 2014

I have a voucher that I am trying to print out for everyone with their name and Employee number on it. Now, I have the generic voucher and the list of name. I am wondering if there is a way to automatically print out vouchers with their name on it, according to the list? Or if some VBA can allow me to create a sheet for each person in the workbook.

View 3 Replies View Related

Page Orientations For Different Print Areas?

Jun 10, 2014

I have seven printareas as follows:

$G$8:$Q$40 - Landscape
$C$42:$M$108 - Portrait
$O$42:$Y$108 - Portrait
$C$110:$M$157 - Landscape
$C$159:$M$206 - Landscape
$O$110:$Y157 - Landscape
$O$159:$Y$206 - Landscape

As you can see, when I go to print preview, I will want the first and the last four to be formatted landscape and the second and third to be formatted portrait. This is all I want the macro to do. Then later when I go to print, I want to be able to print them all together. Is there a way to do this? Perhaps by letting the first printarea be on its on sheet, the second two on their own sheet, and the final four on their own sheet?

View 1 Replies View Related

Page Numbers To Print Area

May 30, 2012

Within one worksheet: Is there a way to apply page numbers and/or footers only to a print area so that if I change the print area the page numbers will begin at 1 again.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved