Deny Printing Of Workbook

Sep 2, 2007

I have a worksheet/ book that needs to be shared with staff BUT they must not be able to print the worksheet/book. Allowing them to 'view only' does not prevent them printing the doc.

View 4 Replies


Deny Access To 'right-click' Attributes

Feb 5, 2007

Are the 2 examples the correct methods to prevent right-click on Rows and Columns?

'Prevent Right Click on entire selected Row(s)

Application. CommandBars("Row").Enabled = False

'Prevent Right Click on entire selected Column(s)

Application.CommandBars("Column").Enabled = False

View 7 Replies View Related

Disable Printing In Excel Workbook That Has 3 Worksheets?

Jul 15, 2014

I am trying to disable printing in an Excel workbook that has 3 worksheets. I do want any worksheets to be able to print.

View 2 Replies View Related

Creating A Workbook Menu For Viewing/printing

Feb 28, 2008

i want to create a menu in the worksheet named "Main Menu" that lists all the other worksheets within the workbook with the option to select the required worksheet and view or print it.

View 7 Replies View Related

VB Code/Macro Printing With Page End Pulled From Workbook

Oct 29, 2008

I have a worksheet that changes in length. There is a formula that calculates how many pages the sheet will be. The also is a print button on the sheet that will print a coversheet "Sheets("Title")" and then it is supposed to print the data on the second sheet. Below the code I have so far... I know I am missing something, but knowing very little about macros I just can't seem to figure it out.

View 2 Replies View Related

Page Number Sheets When Printing Entire Workbook

Aug 21, 2007

I am trying to find a way to print an "entire workbook", but have each of the sheets paged as a group separate from the rest. One workbook typically has up to 20 sheets, with each sheet up to roughly 8 pages. I need each sheet set to show page 1 of 8 or page 5 of 8, not page 22 of 53. Counting and typing in the total number of pages in each sheet's footer is too cumbersome. Also, printing each sheet individually has also been cumbersome when printing to PDF. Are there any other ways to have the "&[Pages]" function only reflect the number of pages within the sheet instead of in the entire workbook?

View 9 Replies View Related

EXCEL 2011 :: Printing A Horizontal And Vertical Page In 1 Workbook?

Mar 18, 2014

Designing a proposal on MAC EXCEL 2011

1 workbook with:

1 page needs to print vertical

1 page needs to print landscape

Is this possible? (without reloading paper and printing a second time)

Right now I can only get it to print landscape OR portrait but not both ...

View 2 Replies View Related

Deny Cell Entry If Cell Exceeds 5 Entries

Jun 19, 2007

i have managed to pull together some code that will deny people adding data into cells if they have 5 of the same entry. the entries are entered in a range and are matched against a single cell outside of the range. heres the

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Dim greycell As Range, i As Long
If Not Intersect(Target, Me.[grey]) Is Nothing Then
Application.EnableEvents = False
For Each greycell In Target
If WorksheetFunction. CountIf(Me.[grey], greycell.Value) > 5 Then
i = greycell.Interior.ColorIndex
greycell.Interior.ColorIndex = 3 'red
MsgBox "no cell entry past 5", vbCritical, "ERROR"
greycell.ClearContents: greycell.Interior.ColorIndex = i
End If
Application.EnableEvents = True
End If
End Sub

what i need with is adapting this code to match two ranges as i cant use the worksheet_change event twice. i need it to be as if they were seperate events but are merged together. eg:.............

View 3 Replies View Related

Printing Multiple Workbooks With Printing Preference As Landscape

Jan 15, 2012

I would like to know if there is a way to print several different workbooks at once but keeping my printing format which I would like to be Landscape and Fit to one page. Reason is simple as I work in a office where staff is handed in several jobs to do everyday. They finish the jobs and log all the info on the database. I log on to database and put all their daily diaries and because it is all over the place I have to go in each file and set printing preferences which takes an hour in the morning and hour in the evening. I could do with some sort of automation where all diaries are automatically printed in Landscape and Fit on one page.

View 2 Replies View Related

Printing / Not Printing Ranges Based On Cell Contents

Apr 11, 2008

I have a report that is generated from a manufacturing process that looks like the example below. the report is 40 pages long when all the data is printed. i am looking for a way to only print this range if a dimension is "out of tolerance". if the dimension is within tolerance, there is always the "garbage" text of plus and minus. if every row is "within tolerance" in the range the cells in the OutTol column would all contain the "garbage" text but it will not always be identical. so, in summary, actual OutTol values = print and all "garbage" = not printed.


View 9 Replies View Related

Printing Multiple Sheets In Workbook With Hundreds Of Sheets

Feb 18, 2014

I have a work sheet named "Main_List"...In column D starting with "D2" I would like to list worksheets that I would like to have printed via VBA.

The workbook has several hundred worksheets and I would like to list in column D only worksheets that I would like to print with VBA code.

View 3 Replies View Related

Misaligned Printing

Feb 12, 2007

I am automating a paper form that collects information from 7 other paper forms and then prints out the results. I have created an excel spreadsheet to do this but I am having problems getting the printed output to match the print preview.

I have inserted an image of the form into the sheet header and aligned the cells on the sheet so that the information is in the correct position when previewed in "print preview".

The problem is that, although this will print correctly on the machine I created it on, it is misaligned on any other machine I have tried.

View 9 Replies View Related

Label Printing

Dec 12, 2008

I need to print quite a few mailing labels for Christmas cards from an Excel 2000 Worksheet. Could someone list the steps I must take to do this?

View 2 Replies View Related

Printing Tabs

Oct 3, 2009

i have included an example spreadsheet, hopefully someone can help me

i want a print button that when pressed with always print 'tab 1' and will print 'tab 2 3 4 etc... if a certain cell in 'tab 1' is greater than zero

please see my example spreadsheet and hopefully my problem will become clear if ive not explained myself very well.

View 7 Replies View Related

Lists And Printing

Dec 7, 2009

I've made a 40 page list on Excel, On the very top of this list is my titles of whats is in the collums. How do I repeat this through out, so it appears on the top of every page.

View 3 Replies View Related

Checkboxes Keep Printing Even Though Set Them To Not?

Feb 22, 2013

I have inserted checkboxes in an excel worksheet to turn on/off certain data. They are working just fine. But I have set them all to not print (by unselecting the checkbox that says "print" in the format dialogue). SOME of the checkboxes don't print, but most of them do. I can't figure out why.

I've attached the file so you can take a look.

View 3 Replies View Related

Printing 2 Or More Sheets At Once

Sep 21, 2013

How can I print 2 or more sheets on a workbook of, say, 10 sheets at once? Is there a way to do this?

View 2 Replies View Related

Printing 2 Sheets In One Go?

Mar 11, 2014

I've noticed with a spreadsheet at work that if you print a sheet it also prints the other sheet.

The first sheet is the data and the second is a graph formed from this data.

Is there an options to set to do this or is because its a graph formed from the data sheet that it automatically prints?

View 3 Replies View Related

Highlighting And Printing ...

May 8, 2008

I have attached a sample sheet which is for invigilation of exams. In columns D, E & F are the initials of people invigilating at different times. What I want to able to do is to print personised sheets for each person where there initals are in bold and the box has a black border around it. This is very labour intensive if I do it manually as have to highlight one person, print, unhighlight and rehighlight the next person and so on. What I was wondering is could I use a macro to automate this process. So it has a list of all the initals and it searches through and highlights the person and prints it and then moves onto the next.

View 14 Replies View Related

Code For Printing

Jan 6, 2009

I am using excel 2000

From this and other forums I have found and adapted 2 bits of code as follows

The code below is used to print the sheets in a workbook in reverse order eg sheet 78, sheet 77, sheet 76 etc.....

View 14 Replies View Related

Events Before Printing

Jan 30, 2009

I have early made a macro that will change some of the cells before printing and then changing back again to initional state after the print out.

But now I have to do let people also print a copy a regular way, without the macro I made before. But if they go through the regular way iof printing I would like to insert at header in red color, to notify them that this is just a preview and not the way to print. And here we come to the problem ....

View 13 Replies View Related

Suppress Printing With VBA

Mar 20, 2009

What i have is over 20 worksheets which have information on them that i want to print when selected so, i have a "main page" with a variety of options for the user to select (by check box) and when they are happy with their selection you would click another check box to print out, i have done this because the printer is set well away from the users and if they printed of sheet by sheet then lots of miles treading back and forth to the printer room would happen so, i thought by doing it this way it would batch print all selected sheets after selection, the code is set up to print all sheets which are selected by "true" in cell O2.

This is no problem as it works well but the code also prints when the check box is de selected. What I would like is a message box to appear before the main macro runs for the user to select "yes or no" to confirm printing. I have put code in this for the command but it will not run the main magro if you select "yes"...below is the code for the main print loop...I think the code for print message should appear before this...

View 10 Replies View Related

Printing A Sheet For Every Day

Oct 13, 2009

I have this attached sheet that i need to print one for every day for the next 12 months.

The problem is i can find a way of doing this and getting the cells in red in row 6 to change to the next date.

View 8 Replies View Related

Process Before Printing

Feb 2, 2010

I need to print a worksheet. The sheet has rows of a specific height (45) and data in one cell grows - adding comments/notes with date attached so that last one entered is displayed, the rest get shoved down.

I need to sometimes print out the sheet. However, I want to have all the notes shown so would like to (1) autofit all rows, (2) print the sheet and then (3) put all rows back to row height of 45. All this I would LIKE to have done by "trapping" the print button on the normal Print area

I have attached some code, but the sheet (1) does not print at all, (2) the code is sometimes executed twice (in debug mode followed it) and (3) sometimes does not set the row height properly either at autofit or static height.

View 2 Replies View Related

Printing Macro ...

Feb 11, 2010

I have a workbook that has a print button on it. The print button macro prints many tabs on the workbook. But, on ONE of the tabs, it inserts information from a range of cells, prints, goes to the next cell in that range and prints, until complete.

The problem I'm having is this: When there is only ONE cell in that range that has information in it, it gets stuck in a continuous loop and prints a ton of blank pages.

Here's my code for this portion of the macro:

View 8 Replies View Related

Userform - Printing

Mar 13, 2005

I have a problem I am using the following code,

Private Sub cmdPrint_Click()
End Sub

How is it possible to get the userform to be printed in landscape

View 9 Replies View Related

Printing Locks Up

Mar 24, 2006

I have a workbook that contains several macros and many formulas. It
works beautifully until I try to print or do a print preview. Then it locks
up excel and I have to restart. Any ideas about what is causing this?

View 13 Replies View Related

Automatic Printing To A PDF

Dec 8, 2004

how to print automatically from Excel to a PDF file. After a couple of days of searching and tweaking, I've got what I think is a fairly good solution for automating your printing of worksheets to PDF files.

This solution requires the use of PDF995. This is a free utility available at This is a print driver that allows you to print to a PDF file. The file is compatible with Adobe and can be read with the Adobe reader like any other PDF. The free version does pop-up some advertising with each print, but the automation works with around the pop-ups. I believe the full license version is about $10 and doesn't produce the pop-ups.

The challenge in automating a PDF process is that the PDF driver will prompt the user for a filename. This is ok if you are printing just one sheet, but if you need to automate the production of several PDFs, you need to be able to specify the name of the file in the code. The subroutine SheetToPDF presented below allows you to specify a single worksheet and the full filename for the PDF. I've included all the code and external declarations needed. The two subs at the bottom give examples of how to call SheetToPDF with the passed parameters.

'Needed to Read INI file settings
Declare Function GetPrivateProfileString Lib "kernel32" Alias _
"GetPrivateProfileStringA" (ByVal lpApplicationName As String, _
ByVal lpKeyName As Any, ByVal lpDefault As String, _
ByVal lpReturnedString As String, ByVal nSize As Long, _
ByVal lpFileName As String) As Long

'Needed to Write INI file settings
Declare Function WritePrivateProfileString Lib "kernel32" Alias _
"WritePrivateProfileStringA" (ByVal lpApplicationName As String, _
ByVal lpKeyName As Any, ByVal lpString As Any, _...........................

View 9 Replies View Related

Printing Certain Columns

Nov 28, 2006

I have a spreadsheet that the Print range is A1:E265.
I want to know if I can print this range without Column C.

View 9 Replies View Related

Repetitive Printing

Mar 25, 2007

I'm an entry level Excel user who is looking for a spread sheet to print multiple pages for tagging pallets in a warehouse. The pallets will contain the address of the customer and the number the pallet is.

Example 30 pallets would be
1 of 30 then print
2 0f 30 then print
3 of 30 then print

how I can put in a varible pallet total and have it print the all sheets up to the given number?

View 9 Replies View Related

Copyrights 2005-15, All rights reserved