Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ralph Howarth
 
Posts: n/a
Default Insert value of a cell as a filename

Is there a way to insert the value of a cell as a filename for referencing a
cell in another workbook?

ex: =<FileName!$Col&Row
where <FileName is a variable text string indicating the name of the
workbook desired to be referenced.

The application involved is such that a user would open up an Excel file
that serves as a data conversion tool. To set up, the user enters their
account information by entering in thier ID number. The ID number is the
variable portion of the text string that a file name is named by.

ex: ="ReportName"+UserID+".csv"
where FileName is the Name given the cell containing the concatenated text
string and UserID is the variable portion of the file name by way of an ID
number of the target user to receive the report.

I have tried different syntax to have the variable be read as literal text
such as:

'FileName
'FileName'
'(FileName)
'(FileName)'
'=(FileName)
'=(FileName)'
'(=FileName)
'(=FileName)'

I will receive either a message of "That name is not valid" or an Update
Values prompt for "(FileName)" when FileName is a Name in the workbook whose
cell reference already has a value.
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
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
How do I insert an image into a specific cell within a protected . Scott Peebles Excel Discussion (Misc queries) 1 January 7th 05 01:14 AM
How to insert a complex formula in a cell with VBA mircea Excel Worksheet Functions 6 January 4th 05 08:12 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
parse cell and insert rows? Gorrila Grod Excel Worksheet Functions 3 November 5th 04 08:19 AM


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