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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA functions in macros

Status
Not open for further replies.

JeroenNL

Programmer
Nov 28, 2002
217
NL
Hi there,

I have a macro containing a few conditions. I want to call one of my own VBA functions in one of these conditions but I don't know if this is possible. I can run standard VBA functions (like DCount, Msgbox etc) in conditions but I want to run my own. Is this possible, and how?


Bye,
Jeroen

A 3d level editor in Delphi
 
you can do this with the RunCode function, but this will run inly run Functions, not Subs.

Gavin,
 
Hi Gavin,

I know about the RunCode function, I use it extensively right now. But... I need to call a function in de Condition (!) part of a macro. Is this possible?


Bye,
Jeroen

A 3d level editor in Delphi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top