don't copy sheet with specific name

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
5,076
Office Version
2019
Platform
Windows
What else is happening that would preclude this action. Need a bigger picture to understand the issue and how to solve.
 

tech3

New Member
Joined
Oct 24, 2019
Messages
10
My bad and thanks for the response. Here is my situation i have a multiple workbook save on a folder. each workbook has 3 sheets in it. sheet order are main, summary and raw now there are instance that a workbook does not have summary sheet in it. i have a code that copies the 2nd sheet based on the order given but every time i run it, it copies the next sheet (raw) whenever summary sheet is missing
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,513
Office Version
365
Platform
Windows
You can add a line of code to your existing code to exclude copying sheets of certain names.

If you post your code, and the name of the sheet you DON'T want to copy, we can help you amend your code.
 

Forum statistics

Threads
1,082,630
Messages
5,366,656
Members
400,909
Latest member
ola97316

Some videos you may like

This Week's Hot Topics

Top