Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hoping someone can help me with this. I have a rather large workbook (23
worksheets) that I'm using as a sort of database (because my employer thinks Access is of the devil for some reason). I need to exclude the following sheets from printing when I do a workbook print: Foreign WD On Us-Denials-Inquiries Total Transactions Availability Surcharge Interchange Expenses Profitability Is there a way to do this? -- Message posted via http://www.officekb.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Check this out:
Sub printsome() Dim s As String s = "Foreign WDOn Us-Denials-InquiriesTotal TransactionsAvailabilitySurchargeInterchangeExpens esProfitability" Dim ws As Worksheet For Each ws In Worksheets If InStr(s, ws.Name) 0 Then Else ws.PrintOut End If Next End Sub Just watch the wrapping. The s= is one long line! -- Gary''s Student - gsnu200909 "cabana_boy via OfficeKB.com" wrote: Hoping someone can help me with this. I have a rather large workbook (23 worksheets) that I'm using as a sort of database (because my employer thinks Access is of the devil for some reason). I need to exclude the following sheets from printing when I do a workbook print: Foreign WD On Us-Denials-Inquiries Total Transactions Availability Surcharge Interchange Expenses Profitability Is there a way to do this? -- Message posted via http://www.officekb.com . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Not getting the result I was hoping for | Excel Programming | |||
hoping for help | Excel Programming | |||
Hoping | Excel Programming | |||
simple i am hoping with macros | Excel Discussion (Misc queries) | |||
Hoping its an easy question | Excel Programming |