Hi All
I have the following codes for a print exclude that does not work - it should but prints out all sheets. Any Ideas Please.
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Hi All
I have the following codes for a print exclude that does not work - it should but prints out all sheets. Any Ideas Please.
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Maybe:
![]()
Please Login or Register to view this content.
If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)
You can't do one thing. XLAdept
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin
Hi xladept
Thanks for input....Unfortunately still prints all worksheets
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
Hi Xladept
Have generated 2 extra worksheets as Linka & Jenny...These are the to that I need to print via Userform "Print Payslips" button.
Hi xladept
I just noticed it is doing the same for populating of worksheets. It is also populating my exclusions Sheet 1-3.
Hi sintek,
It ran like a charm!
![]()
Please Login or Register to view this content.
Hi xladept
On my side, all the sheets are printed....(printpreviewed) and all my sheets are also populated by another macro where they should not be.....Am I doing something wrong as a whole cause the :
is not working as a whole.![]()
Please Login or Register to view this content.
I see that the ws.name is case sensitive and in the sample you sent they are all upper case but your other program is proper case - try:
![]()
Please Login or Register to view this content.
xladept....Works perfectly. Thanks
I don't understand though.
Hi sintek,
The sheet names have to match exactly: DATABASE will not Match Database etc.
So, by comparing a lower case sheet name with database we can get our match.
Hope that's enough to explain. If not I'll try too be more explicit
Orrin
Now I understand...Awesome thanks for all input.
Glad you got it! And, thanks for the rep!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks