VBA MS Access code wont run -
i new vba , trying first bit of vba code run, have added button form. opened on click event , placed
private sub run_click() msgbox "hello world" end sub` into module when go form , click button in form view nothing happens, doing wrong, have tryed run lots of other sniptes of code nothing working, kinda unsure how actaully "run" code.

i click run this

i have gone trust centre , enabled macros , still error ??
// issue has been solved marcos not enabled in trust centre
if brand new database may not "trusted" yet. exit access completely, try opening database again. if see warning like...
security warning: active content has been disabled.
...along "enable content" button click button (to enable macros , vba code) , try form again.
Comments
Post a Comment