View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
pabs[_23_] pabs[_23_] is offline
external usenet poster
 
Posts: 1
Default return value from MATCH

actually, that works...gettting the value in res.

my problem is that I need to refer to another file.

if you look at the formula it specifies a particular workbook
(sheet1)

res = application.match("some name", worksheets("*sheet1
").range("a1:a450"),0)


I also need to specify from what file it's in (since I have more tha
one file open at once)

I tried [fileName.xls]Sheet1 but that didn't work when I tried it...

not sure on what the syntax would have to be..

--
Message posted from http://www.ExcelForum.com