We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Base: Run macro on form open [closed]

asked 2013-04-19 22:09:32 +0200

scb31 gravatar image

I'm sure that I'm missing something simple here but how do I get a macro to run on initial opening of a form?

I have created a macro & assigned it to the 'When Loading' event of the form ut nothing happens. I have even set the macro to just display a 'MsgBox' message (rather than do anything clever) but it is still not being executed. Assigning the same macro to a command button on the same form works OK when it is clicked, just not on form opening. Am I missing the point here somewhere or using the wrong event?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by Alex Kemp
close date 2016-02-21 14:59:01.284708

1 Answer

Sort by » oldest newest most voted

answered 2014-04-27 17:51:54 +0200

Alex Thurgood gravatar image
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-04-19 22:09:32 +0200

Seen: 1,990 times

Last updated: Apr 27 '14