LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Using the Address Function

I need to get data from several workbooks so I often use the
"INDIRECT(ADDRESS" function and reference a variable in a cell for the
worksheet name.

Now I am trying to access workbooks in other directories. I have tried
everyway I can think of to get the full path of the workbook into a variable
that will work. So far, no luck. Here is what I want to access:

'C:\Documents and Settings\All Users\Documents\# PROJECT MANAGER\! Current
Projects\1 P652 FNC\[Update.xls]To Updates'!$A$2

I need last folder (1 P652 FNC) to be a varible that the ADDRESS function
will accept.

=INDIRECT(ADDRESS(2,1,,,F1))
The value in F1 is:
"'C:\SharedDocs\# PROJECT MANAGER\! Current Projects\"&F2"&"\[Update.xls]To
Updates'!"))
The value of F2 is:
1 P652 FNC
but that value will change to another folder as needed in the same path,
Workbook & Worksheet names.

Help on Excel 2000?

Thanks,

 
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
use of ADDRESS function within CELL function drummo2a Excel Worksheet Functions 4 July 2nd 09 07:44 AM
How to create a range address with ADDRESS function? Steve McLeod Excel Worksheet Functions 1 December 18th 08 02:02 PM
Is it possible to use address function in average function [email protected] Excel Discussion (Misc queries) 8 December 18th 07 12:52 AM
cannot nest address function into another function Ian Excel Discussion (Misc queries) 7 April 27th 07 07:03 AM
Use address function or other Doug Laidlaw Excel Worksheet Functions 1 February 24th 05 02:12 PM


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