PlasticMonster
Registered User.
- Local time
- Today, 20:29
- Joined
- Aug 21, 2012
- Messages
- 30
Probably the wrong approach but to enable me to run some code before a button is clicked I want to be able to click a button via VBA code.
Basically I used the auto button wizard to make an add record button.
To ensure a shed loads of if checks and queries on the entered form data run I wanted to make this button invisible, then make a new button running code not embedded macros to run my checking module then click the original helpful add record button.
Even to me it sounds abit like programming gaffa tape but I have no idea what else to do and think if its possible it should work.... albeit not very elegantly.
Basically I used the auto button wizard to make an add record button.
To ensure a shed loads of if checks and queries on the entered form data run I wanted to make this button invisible, then make a new button running code not embedded macros to run my checking module then click the original helpful add record button.
Even to me it sounds abit like programming gaffa tape but I have no idea what else to do and think if its possible it should work.... albeit not very elegantly.