Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default use VBA to create UDF to lookup value in a closed spreadsheet

Hi,
I've been looking around quite a bit for this and I keep running into
comments that state you cannot search a closed spreadsheet.

I have a file on a network drive that contains a mapping of item
number to description.

I'd like to have a distributable add-in (.xla) file with a function in
it that allows a user to put in a simple formula to lookup these
values.

Currently, every user has their own local spreadsheet which is a
snapshot taken at differing times and is subject to inconsistencies.

My thought was to create a formula so we can say
=sku_description(<sku number)

People are using VLOOKUP and INDEX MATCH with mixed success.

Here is one tip that almost works for me:
http://www.exceltip.com/st/Read_info...Excel/473.html

This tip is nice, but I'm missing why we can't do some kind of
workbook.Open to activate the workbook and then close it afterward?

As you may have guessed, I'm a rookie when it comes to VBA but I've
worked in a couple of other languages.

Thanks for any suggestions you can offer. I really appreciate the
generosity of your responses.
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
How can i create an index/ match formale for spreadsheet or a lookup gini76[_6_] Excel Discussion (Misc queries) 8 February 10th 09 09:52 AM
Lookup last used Row un closed Workbook ryguy7272 Excel Worksheet Functions 4 September 24th 08 12:10 AM
Lookup function Closed files Excel [email protected] Excel Worksheet Functions 3 January 12th 07 04:41 PM
Excel spreadsheet is closed Anders Excel Programming 5 January 23rd 05 01:34 PM
Lookup up cell value in closed sheet Steve[_52_] Excel Programming 2 May 19th 04 07:30 AM


All times are GMT +1. The time now is 12:32 AM.

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

About Us

"It's about Microsoft Excel"