Creating and Hiding TAB's Systematically.

Joined
Sep 21, 2006
Messages
15
I would like to create a tab for the departments that exist in our pull for the dump into excel, below is the structure. How do I do this systematically?

IF ‘FW FILE DUMP_DEPT ‘!A1:A211 = ‘DEPARTMENT’!A2:A211 THEN SHOW TAB on Worksheet that = department name in Department listing.
ELSE HIDE TAB that DOES NOT equal ‘FW FILE DUMP_DEPT ‘!A1:A211 on Worksheet
END IF;

This is to prevent the customer from printing blank tabs that do not have data that correspond to it. The last formula worked great!!! Thanks.
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
75,915
Office Version
  1. 365
Platform
  1. Windows
I'm sorry but your post isn't clear, to me anyway.:eek:
 
Joined
Sep 21, 2006
Messages
15

ADVERTISEMENT

I hope this help.....

I'm sorry but your post isn't clear, to me anyway.:eek:

What I want to do is create a tab systematically if a list of departments are not listed from a file dump. Let's say that cell A1:A211 has all the departments and appear in worksheetA. How can I code in excel to to capture those departments listed and create a tab in worksheetB?
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
75,915
Office Version
  1. 365
Platform
  1. Windows
Sorry that doesn't make sense.:eek:

You want to create tabs in a worksheet?

Do you actually mean a workbook?
 

Watch MrExcel Video

Forum statistics

Threads
1,113,992
Messages
5,545,373
Members
410,679
Latest member
rolandbianco
Top