Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autoexec

Status
Not open for further replies.

100bure

IS-IT--Management
Feb 11, 2002
12
CH
Hi

I would like to change the Condition in Autoexec Macro with VBA.

Thanks

bure
 
What do you mean by...

Autoexec Macro?

What's in the Autoexec Macro?

"Enquiring minds need to know!" :) Skip,
metzgsk@voughtaircraft.com
 
Have to agree with Skip here. If there is already an AutoExec macro then you only have to open it and change whatever. However if you are saying that you want your own AutoExec to fire then create a module, name it AutoExec and make sure that have a procedure called Sub Main() where your main coding goes in it. This will then kick in as the AutoExec.

Asjeff
 
Hi.

I've got a macro in access which is called Autoexec. Ant this macro calls some functions. And some of this functions shall run only once. So I tried,after this function is run, to change the condition of this specific function. And to do so, I wanted to change this condition with VBA.
But now I solved the problem with a function which is called at the startup form.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top