var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
I try to transfer some forms and some module from one database to another database, the code that I use in VB6 enviroment is:
Dim appBD As Access.Application
Set appBD = New Access.Application
appBD.AutomationSecurity = msoAutomationSecurityLow
appBD.DoCmd.TransferDatabase acExport, "Microsoft Access", "C:\Bar\MDB\ProteccionBase\bd2.mdb", acForm, "Bienvenido", "Bienvenido", False
If I use this code to tranfer tables don't have any problem the problem is when I try to transfer forms or modules and the modules in the VBA enviroemnt have password protection.
How I set the password in VBA to allow the transfer
You can't, I'm afraid.
Maybe you should try using the undocumented TransferText function, but I'm not sure it would work.
Have a nice day!