#1   Report Post  
Old June 10th 09, 05:54 PM posted to microsoft.public.excel.links
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2007
Posts: 27
Default variable path

I'm trying to vary the source of some information, How can I use a drop down
list for example to select a new source for info in a cell?

example:
Q:\Data\File001.xls
Q:\Data\File002.xls
Formula in A1 Cell = 'Qata\[File001.xls]Sheet1'!H1/100
Then switch to File002

Thank you, regards

  #2   Report Post  
Old June 12th 09, 05:38 AM posted to microsoft.public.excel.links
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2008
Posts: 293
Default variable path

Hi Gerardo,

Check out the INDIRECT function. Do note, though, that this function will return error values if the source workbooks are not open.
The alternative is to use a macro to replace the filenames in specified cells.

--
Cheers
macropod
[Microsoft MVP - Word]


"Gerardo" wrote in message ...
I'm trying to vary the source of some information, How can I use a drop down
list for example to select a new source for info in a cell?

example:
Q:\Data\File001.xls
Q:\Data\File002.xls
Formula in A1 Cell = 'Qata\[File001.xls]Sheet1'!H1/100
Then switch to File002

Thank you, regards




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
Formula too long - new file path is shorter than old file path - Excel 2003 Greg J Excel Worksheet Functions 1 November 22nd 06 05:16 PM
Vlookup using variable path name for range value Jeff Lowenstein Excel Worksheet Functions 1 February 9th 06 01:13 AM
hyperlink navigation path path wrong in Excel 2003 CE Admin Excel Discussion (Misc queries) 5 January 7th 06 07:47 PM
how to change absolute path to relative path hwijgerse Excel Worksheet Functions 0 November 25th 05 07:18 AM
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017