Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
billsc
 
Posts: n/a
Default 'Alias' for file name.....

I have a long log file where I pull only 10 of the columns and combine data.
This means I need to have the somefilenamethatistoolong.xls in every formula
and the file may change from release to release.
I would like to put some where that "log=
c:\logfiles\somefilenamethatistoolong.xls"
and then use [log] in the formulas...
How do I do this....
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try this

Create a name (InsertNameDefine ...) with a name of log and the value of
=c:\logfile\the file name.xls and then use

=INDIRECT(log&"Sheet1A1")

etc.

This only works while the othetr book is open, so you may need to do a
copy/paste values.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"billsc" wrote in message
...
I have a long log file where I pull only 10 of the columns and combine

data.
This means I need to have the somefilenamethatistoolong.xls in every

formula
and the file may change from release to release.
I would like to put some where that "log=
c:\logfiles\somefilenamethatistoolong.xls"
and then use [log] in the formulas...
How do I do this....



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Another option...

Copy that somefilenamethatistoolong.xls to a nice location and call it log.xls.

Use that in your formula.

Whenever the somefilenamethatistoolong.xls gets updated, you will have to
remember to copy that workbook again.



billsc wrote:

I have a long log file where I pull only 10 of the columns and combine data.
This means I need to have the somefilenamethatistoolong.xls in every formula
and the file may change from release to release.
I would like to put some where that "log=
c:\logfiles\somefilenamethatistoolong.xls"
and then use [log] in the formulas...
How do I do this....


--

Dave Peterson
  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

LOL. De Bono like!


"Dave Peterson" wrote in message
...
Another option...

Copy that somefilenamethatistoolong.xls to a nice location and call it

log.xls.

Use that in your formula.

Whenever the somefilenamethatistoolong.xls gets updated, you will have to
remember to copy that workbook again.



billsc wrote:

I have a long log file where I pull only 10 of the columns and combine

data.
This means I need to have the somefilenamethatistoolong.xls in every

formula
and the file may change from release to release.
I would like to put some where that "log=
c:\logfiles\somefilenamethatistoolong.xls"
and then use [log] in the formulas...
How do I do this....


--

Dave Peterson



  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

I expected some .vbs code that would copy the file, then start excel and open
that workbook so that it becomes a single click operation!

Bob Phillips wrote:

LOL. De Bono like!

"Dave Peterson" wrote in message
...
Another option...

Copy that somefilenamethatistoolong.xls to a nice location and call it

log.xls.

Use that in your formula.

Whenever the somefilenamethatistoolong.xls gets updated, you will have to
remember to copy that workbook again.



billsc wrote:

I have a long log file where I pull only 10 of the columns and combine

data.
This means I need to have the somefilenamethatistoolong.xls in every

formula
and the file may change from release to release.
I would like to put some where that "log=
c:\logfiles\somefilenamethatistoolong.xls"
and then use [log] in the formulas...
How do I do this....


--

Dave Peterson


--

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
MS Query - Alias syntax David P Excel Worksheet Functions 3 February 16th 05 09:29 AM


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