stop excel sheet from being printed

  • Thread starter Thread starter Zambian
  • Start date Start date
Z

Zambian

like to stop other users from being able to print the first page of a workbook
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top