roger said:
The reasoin is that i'm running a mail merge and ms access 2000 is
using VBA 6.00 but it shoudl be vba 6.04, otherwise i get an error:
undefined function replace...
Now this is interesting. When I run A2000, go to the VBA IDE, click
on Help then About I get version 6.3. Ah, that's likely because I
have A2002 and A2003 installed on my system.
Like Doug states ensure that system is up to date on the Office
service packs.
However I think your problem lies elsewhere and has to do with your
references.
Do you have any references besides the basic three? Are you sure you
need them? Write down the path and name of the extra ones, delete
from the references list and Compile and Save All. Keep any
necessary references and ensure they are distributed to the target
system.
For a very detailed page on reference problems see
http://members.rogers.com/douglas.j.steele/AccessReferenceErrors.html
Ctrl+G will take you into the Debug/Immediate window. Then click on
Tools on the menu bar and References.
The Access 2000 default references are:
Visual Basic for Applications
Microsoft Access 9.0 Object Library
OLE Automation
Microsoft ActiveX Data Objects 2.1 Library
or
Microsoft DAO 3.6 Object Library
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm