Access VBA Userform Load problem

H

Hans Perborn

VBA Userforms that work in Excel or Word 2003 cause problems in Access 2003
when the file format is 2002/2003 but not 2000. VBA code line "Load
UserFormName" cause Run Time error 75. Sometimes also Run time error 57:
Device I/O error.
 
H

Hans Perborn

Hans Perborn said:
VBA Userforms that work in Excel or Word 2003 cause problems in Access 2003
when the file format is 2002/2003 but not 2000. VBA code line "Load
UserFormName" cause Run Time error 75. Sometimes also Run time error 57:
Device I/O error.

I have now tested a workaround. First convert the database from file format
2000 to 2002/2003. Enter VBE but don't try to load or display the userforms
using code. Now make new userforms using similar names for each old userform.
Open each matching pair of userforms and copy all controls and code from the
old ones to the new. Remove the old userforms and rename the new ones with
the old names. Remember to save the database from time to time, but never
save the old userforms. You will get a saving prompt where you can disselect
the old ones.
This strategy works but still you cannot export the new userforms and then
import them back again to a database in 2002/2003 format. In that case you
will experience the same problems as importing from the original userforms
from Access 2000 file format.
I suppose this was not what microsoft intended with the VBE import/export
functionality. Does anyone know whether this problem affect Access 2007?
 

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