Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Reference to closed workbook

Hi

I have 600 or so workbooks with a piece of information in cell a6 that I
need to extract in another workbook. Each workbook is saved on a network G
drive under folder structure userdata\alpha\surname firstname -
userid\userdata.xls
where alpha is the letters A-Z based on surname and each user under their
respective alpha split folder has a foldername based on the following
"surname - firstname - userid"

I have a work book that in column A that has each userid listed and in
column B the users name in the format above "surname firstname"

How do I set a formula in column c that can use the items A and B to make up
a path reference to the appropriate userdat.xls workbook and set the info
from cell a6 in column c of the work listing the user names and id's

I know I can use left(B1, 1) to get the letter for the alpha slit but I can
seem to combine this with a concatenate into a path reference.
--
Regards and Thanks for any assistance.

Francis Brown.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Reference to closed workbook

Hi,

The best solution may be to use VBA, because the "best" solution isn't
available in the spreadsheet (that is INDIRECT) because your workbooks are
all closed.

Let us know what you think about using VBA

Cheers,
Shane Devenshire

"Francis Brown" wrote:

Hi

I have 600 or so workbooks with a piece of information in cell a6 that I
need to extract in another workbook. Each workbook is saved on a network G
drive under folder structure userdata\alpha\surname firstname -
userid\userdata.xls
where alpha is the letters A-Z based on surname and each user under their
respective alpha split folder has a foldername based on the following
"surname - firstname - userid"

I have a work book that in column A that has each userid listed and in
column B the users name in the format above "surname firstname"

How do I set a formula in column c that can use the items A and B to make up
a path reference to the appropriate userdat.xls workbook and set the info
from cell a6 in column c of the work listing the user names and id's

I know I can use left(B1, 1) to get the letter for the alpha slit but I can
seem to combine this with a concatenate into a path reference.
--
Regards and Thanks for any assistance.

Francis Brown.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Reference to closed workbook

I used VBA and got it to work .

It turned out the file structure wasnt as rigid and the spreadsheet layouts
as consistent as I thought so I needed to use a number of if then else
structures to test for the diffrent posibilities but I got there in the end.
--
Regards and Thanks for any assistance.

Francis Brown.


"Shane Devenshire" wrote:

Hi,

The best solution may be to use VBA, because the "best" solution isn't
available in the spreadsheet (that is INDIRECT) because your workbooks are
all closed.

Let us know what you think about using VBA

Cheers,
Shane Devenshire

"Francis Brown" wrote:

Hi

I have 600 or so workbooks with a piece of information in cell a6 that I
need to extract in another workbook. Each workbook is saved on a network G
drive under folder structure userdata\alpha\surname firstname -
userid\userdata.xls
where alpha is the letters A-Z based on surname and each user under their
respective alpha split folder has a foldername based on the following
"surname - firstname - userid"

I have a work book that in column A that has each userid listed and in
column B the users name in the format above "surname firstname"

How do I set a formula in column c that can use the items A and B to make up
a path reference to the appropriate userdat.xls workbook and set the info
from cell a6 in column c of the work listing the user names and id's

I know I can use left(B1, 1) to get the letter for the alpha slit but I can
seem to combine this with a concatenate into a path reference.
--
Regards and Thanks for any assistance.

Francis Brown.

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
reference a closed filed from a cell and formula in an open file dh13134 Excel Worksheet Functions 15 August 6th 08 08:08 PM
Reference closed files in formula [email protected] Excel Worksheet Functions 0 October 13th 06 11:09 AM
Reference closed files in formula [email protected] Excel Worksheet Functions 0 October 13th 06 11:09 AM
Use INDIRECT function to reference a value in closed file Saravan Excel Worksheet Functions 6 June 28th 05 03:04 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM


All times are GMT +1. The time now is 02:08 PM.

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"