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.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,303
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
76,303
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?
 

Forum statistics

Threads
1,141,025
Messages
5,703,812
Members
421,318
Latest member
cg_cartoonexcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top