VLookup worksheet name

L

lsn

I have a vLookup formula that is looking at a worksheet in a multiworksheet
workbook. I wanted to delete the worksheet and have it create the worksheet
via macro (this works just fine) but there seems to be a disconnect between
my vLookup. I cannot reference a worksheet that doesn't exist. Any
suggestions?
 
J

Jim Thomlinson

You can use the indirect function as it makes the connection when the formula
is evaluated instead of when the formula is typed...
 
D

Duke Carey

In addition to Jim's answer, since you are creating the lookup range
worksheet via macro, you can also create the VLOOKUP formula after the
worksheet has been created.
 

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

Top