Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Priorsyeat
 
Posts: n/a
Default Trying to access different files depening on a variable

I am trying to access other excel files depending on a variable in my current
worksheet
ie ='["Plan 200"&q5-1&" 200"&q5&".xls"]Main'!P36 such that when q5 is 6 then
the expression will be
='[Plan 2005 2006.xls]Main'!P36
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Trying to access different files depening on a variable

=INDIRECT("'["Plan 200"&q5-1&" 200"&q5&".xls"]Main'!P36")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Priorsyeat" wrote in message
...
I am trying to access other excel files depending on a variable in my

current
worksheet
ie ='["Plan 200"&q5-1&" 200"&q5&".xls"]Main'!P36 such that when q5 is 6

then
the expression will be
='[Plan 2005 2006.xls]Main'!P36



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
Aling multiple sets of data by header column MarkusO Excel Discussion (Misc queries) 2 April 12th 06 07:29 PM
can't clear read only from files, msg: access denied read only problems Excel Discussion (Misc queries) 10 September 10th 05 05:52 PM
how i convert excel files with images to access mike Excel Discussion (Misc queries) 1 March 7th 05 05:51 PM
how i convert excel files with images to access mike Excel Discussion (Misc queries) 1 March 7th 05 03:11 AM
how do i create an access code sheet to number my office files an. dana New Users to Excel 1 February 12th 05 03:49 AM


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