If this code is in the module of a form or report (not a stand-alone
module), then the Me keyword is fine, so something else is happening.
It is not uncommon for VBA to highlight the wrong thing, i.e. there could be
somehing else on that logical line that is causing the problem.
If you created a new A2002 database and imported, it might need references
fixed, e.g. a ref. to the DAO 3.6 library.
There could also be an incipient corruption in the original file, that is
uncovered by the conversion process. Try this sequence:
1. In the original A2000 database, uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html
2. Compact the database to get rid of this junk:
Tools | Database Utilities | Compact
3. Close Access. Make a backup copy of the file. Decompile the database by
entering something like this at the command prompt while Access is not
running. It is all one line, and include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"
4. Open Access, and compact again.
5. Try the conversion again.
Post back if that still fails.