I don't like to build the formula myself. I let excel do it.
With both workbooks open, I start typing the formula:
=vlookup(a2,
Then I click on window to activate the other workbook. Then I select the
worksheet and finally the range.
Then I take back the typing and finish with
,15, false)
====
As an aside, you may want to limit your range to just what you need. You'll
find that it'll calculate quicker and less often.
> I'm trying to perform this VLookup
>
[quoted text clipped - 12 lines]
> Cheers,
> Jason Lepack

Signature
Dave Peterson
Jason Lepack - 15 Jan 2007 15:55 GMT
This user has a database that he daily downloads data from a source and
loads it into the database. He then exports 5 queries all into a
single workbook for the day. He recreates this workbook every day but
he has comments for specific parts that he needs to copy over from the
day before, but they aren't always in the same place, or even included
in the next day, thus the vlookup.
I've created macros to format his daily input and his daily output.
The macro asks him to select yesterdays file and then it creates the
vlookup and pastes it in to lookup the data.
He knows that the easy solution is to remove the spaces, but if at all
possible we'd like to workaround some other way.
Cheers,
Jason Lepack
> I don't like to build the formula myself. I let excel do it.
>
[quoted text clipped - 27 lines]
> > Cheers,
> > Jason Lepack
Jason Lepack - 15 Jan 2007 15:59 GMT
I figured it out.
=VLOOKUP(A2,'[Updated Jan12 Daily D.xls]Daily_D___Bob'!$1:$65536,15,
FALSE)
I just needed to add in the ' ' around the file name.
Cheers,
Jason Lepack
> This user has a database that he daily downloads data from a source and
> loads it into the database. He then exports 5 queries all into a
[quoted text clipped - 44 lines]
> > > Cheers,
> > > Jason Lepack
Dave Peterson - 15 Jan 2007 16:12 GMT
I'm not sure if you found it via trial and error--but if you had let excel build
the formula, you would have seen the correct syntax right away.
> I figured it out.
>
[quoted text clipped - 58 lines]
> > >
> > > Dave Peterson

Signature
Dave Peterson
Jason Lepack - 15 Jan 2007 16:25 GMT
Yes that's how I found it, by trying to rebuild it. When I had
originally built my code to put that fomula in the file had no spaces.
Cheers,
Jason Lepack
> I'm not sure if you found it via trial and error--but if you had let excel build
> the formula, you would have seen the correct syntax right away.
[quoted text clipped - 61 lines]
> > > >
> > > > Dave Peterson