Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default search an array for values contained in another array

I have two workbooks, one named 'Reps' and the other named 'Dealers'. The
'Rep' workbook has a sheet for each rep (sheet name is the rep name). The
'Dealers' has a listing of 1000 dealers in column A and in column R there is
a rep name for that dealer.

I have created an array of sheet names ('sheetnames') in the 'Reps' workbook
and I have also created an array of unique reps that are in Column R called
'repnames'.

Now I want to lookup each rep name from the repnames array in the sheetnames
array to see if that rep already has a sheet. If he doesn't have a sheet,
then I need to make a copy a master sheet that is already formatted and name
the new sheet with the rep name.

What is the best way to accomplish the above? Many thanks for a prompt
response!




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array: Counting multiple values within array Trilux_nogo Excel Worksheet Functions 4 April 16th 07 03:12 AM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
How do I search an array for values in a column greater than zero letsagmj Excel Worksheet Functions 0 July 26th 06 02:41 AM
Use array to return array of values Brad Excel Worksheet Functions 2 March 30th 06 05:58 PM
SEARCH EXCEL ARRAY FOR NON-VOIDS AND ENTER INTO ANOTHER ARRAY, ROSE THE RED Excel Programming 1 December 31st 04 06:01 PM


All times are GMT +1. The time now is 08:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"