K
Khalil Handal
Hi to all,
I have a workbook called(test) with one single sheet (sheet1). This sheet
(sheet1) is a summary sheet taken from 24 different books that has the
names: g1a, g1b, g2a, g2b, .... , g24b. All of the workbooks has the same
number of sheets and sheet names; I am using values form 2 sheets (Persoanl
and constant) to be copied from each workbook.
In the cells I see something like this:
='D:\newfolder\sample\[G1a.xls]Personal'!K60
='D:\newfolder\sample\[G1b.xls]constants'!b7
.....
.....
The problem is that when I copy all the workbooks to another folder I will
have a link problem to find the values.
Is there a way to do this using VBA code so as the code will be like: "use
the file in the same path (current folder??) of this active workbook (test)?
in order to get the values.
Note: in the workbook test I have around 150 values linked in the range
B10:g26
I have a workbook called(test) with one single sheet (sheet1). This sheet
(sheet1) is a summary sheet taken from 24 different books that has the
names: g1a, g1b, g2a, g2b, .... , g24b. All of the workbooks has the same
number of sheets and sheet names; I am using values form 2 sheets (Persoanl
and constant) to be copied from each workbook.
In the cells I see something like this:
='D:\newfolder\sample\[G1a.xls]Personal'!K60
='D:\newfolder\sample\[G1b.xls]constants'!b7
.....
.....
The problem is that when I copy all the workbooks to another folder I will
have a link problem to find the values.
Is there a way to do this using VBA code so as the code will be like: "use
the file in the same path (current folder??) of this active workbook (test)?
in order to get the values.
Note: in the workbook test I have around 150 values linked in the range
B10:g26