Problem with format function in excel VBa

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a statement that goes like this:

If Not Format(Sheets("Filter").Range("F99"), "000.000") =
Format(Sheets("List").Cells(FoundAddress1, 2), "000.000") And _
INDEX333 = Sheets("list").Cells(FoundAddress1, 43) Then


It works on some excel 2003's and doesn't on otre 2003's. I get a reference
library
error.

Any ideas? Can I use another function instead of Format?

Thanks
 
Go into Tools>References in the VBIDE. If you see any items with MISSING
beside them, uncheck it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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