Calculated Formula

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

I'd like to calculate a formula based on date values in
column A. My final formula should read something like
this ='c:\02-05-04\[test.xls]sheet1'!b7

(02-05-04 is in cell a1)
And it should link to a value referenced by the formula.

Can this be done? Thanks in advance.
 
Assuming the entry in A1 is a date perhaps:

Range("A2").Formula = "='c:\" & Format(Range("A1").Value, "m-d-yy") &
"\[test.xls]sheet1'!b7"



--
Jim Rech
Excel MVP
| I'd like to calculate a formula based on date values in
| column A. My final formula should read something like
| this ='c:\02-05-04\[test.xls]sheet1'!b7
|
| (02-05-04 is in cell a1)
| And it should link to a value referenced by the formula.
|
| Can this be done? Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top