Did you tell Access 2007 it is okay to run your code?
- Microsoft Office Button (top left)
- Access Options (bottom of dialog)
- Trust Center tab (left)
- Macro Settings (left)
choose "Enable all macros"
Also, on the Trusted Locations tab (left), click the Add New Location
button, and add your local disk data area with subfolders.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"st" <(E-Mail Removed)> wrote in message
news:9AEEE31B-30CA-4665-B387-(E-Mail Removed)...
> Hello,
>
> When I open an Access 2000 db in Access 2007, a Button which assigns "On
> Click" to run code, won't run the code.
> Even 'creating' a Button in Access 2007 still won't run "On Click" code.
> Any help will be apprecaited.
> Thanks............................Bernard
>