LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Working with Workbook array


try

Code:
--------------------

Sub test()
Dim wb As Workbook, wbNames, x
wbNames = Array("One.xls","Two.xls",Three.xls")
For Each wb In WorkBooks
x = Application.Match(wb.Name, wbNames, 0)
If Not IsError(x) Then MsgBox wb.Name
Next
End Sub
--------------------


--
jindon
------------------------------------------------------------------------
jindon's Profile: http://www.excelforum.com/member.php...o&userid=13135
View this thread: http://www.excelforum.com/showthread...hreadid=551995

 
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 not working James Excel Discussion (Misc queries) 1 October 16th 09 05:45 PM
AVERAGE IF in array not working WildWill Excel Worksheet Functions 4 October 15th 08 11:31 PM
3d array not working D Excel Worksheet Functions 3 November 2nd 07 03:36 PM
Working with an array Otto Moehrbach Excel Programming 2 September 6th 05 10:37 PM
Sum not working on Array ExcelMonkey[_190_] Excel Programming 1 February 25th 05 06:46 PM


All times are GMT +1. The time now is 07:05 AM.

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"