Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Dynamically changing a file name

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/

That includes =indirect.ext() that may help you.

TimN wrote:

Hope this makes sense. I'm so confused, it's hard to even ask the
question... :)

I have a spreadsheet with location and file named S:\Employee\Active
1-1-07.xls. This is a list of all active employees. A new file is saved
every two weeks with the current employee list.

In a seperate spreadsheet user types in a date such as 12/18/06. There is a
VLOOKUP formula behind the scences that goes to the file above and finds a
specific employee as of 12/18/06. As you can see the problem is the current
file is for 1-7-07 not 12/18/06.

I want to dynamically change the file name to be the same as the one the
user types in then the VLOOKUP goes out to the appropriate file and does it's
thing.

I have used CONCATENATE to put together in one cell S:\Employee\Active and
the date the employee enters converted to format _12-18-06 to get that whole
string together in one cell. I want to take that and go to the table of data
where I have my VLOOKUP and point to this new Concatenanted value and say "go
to that file to look for the value". Can I do that?

In other words, I want the file name that the VLOOKUP goes to, to be driven
by the date the user enter.

Please HELP!!!


--

Dave Peterson
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
Dynamically changing cell's formula CW[_2_] Excel Worksheet Functions 1 October 11th 08 11:53 AM
Changing a formula dynamically. mg_sv_r Excel Worksheet Functions 2 August 20th 07 01:10 PM
Dynamically changing a file name Bernard Liengme Excel Programming 0 January 5th 07 05:50 PM
changing selections dynamically [email protected] Excel Discussion (Misc queries) 1 August 22nd 06 04:23 PM
Changing Reference Dynamically Shashi Bhosale Excel Programming 1 September 9th 03 03:36 PM


All times are GMT +1. The time now is 08:07 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"