Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
like to stop other users from being able to print the first page of a workbook
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use a macro like
Private Sub workbook_BeforePrint(Cancel As Boolean) Select Case ActiveSheet.Name Case "Sheet1", "Sheet2" Cancel = True MsgBox "Sorry, you cannot print this sheet from this workbook",_ vbInformation End Select End Sub See http://www.brainbell.com/tutorials/m...in_Actions.htm for details (the above macro is taken from the page above) "Zambian" wrote: like to stop other users from being able to print the first page of a workbook |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Different interpretations of what you are asking for here -- I see it that
you are asking to "SKIP" the printing of any Page1 on say a Sheet1 that print several pages ordinarily (say 1 to 5).. any way Give this a shot: (In a Standard module - paste in) Sub PrintSkipP1() Dim sht As Worksheet TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)") For Each sht In ActiveWindow.SelectedSheets sht.PrintOut From:=2, To:=TotPages Next sht Set sht = Nothing End Sub "Zambian" wrote: like to stop other users from being able to print the first page of a workbook |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Retrieving printed unsaved sheet | Excel Discussion (Misc queries) | |||
Subtotals for printed sheet? | Excel Discussion (Misc queries) | |||
protect a sheet from being printed? | Excel Discussion (Misc queries) | |||
Excel - need an serial # to update everytime sheet is printed. | Excel Worksheet Functions | |||
Stop Excel form objects being printed | Excel Discussion (Misc queries) |