hi.. i'm beginner in access 2013
I created a customized ribbon, A toggle button with OnAction
<toggleButton id="DaftarItemToogleButton" size="normal" label="DaftarItem" imageMso="TableOfContentsDialog" onAction="DaftarItemToogleButtonOnAction"/>
when I created a macro to open form named "Daftar Item" it succeed, but I want it in VBA way..
I'm stuck in VBA, so I convert it from the macro I've created before.
After convert, delete the macro, the VBA function weren't running. I wonder why..
Converted macro :
Function DaftarItemToogleButtonOnAction()
On Error GoTo DaftarItemToogleButtonOnAction_Err
DoCmd.OpenForm "Daftar Item", acNormal, "", "", , acNormal
DaftarItemToogleButtonOnAction_Exit:
Exit Function
DaftarItemToogleButtonOnAction_Err:
MsgBox Error$
Resume DaftarItemToogleButtonOnAction_Exit
End Function
Please help me..