Difference between revisions of "Main Page"

From vb24
Jump to navigation Jump to search
Line 24: Line 24:
 
* [[Data Abstraction Layer]]
 
* [[Data Abstraction Layer]]
 
* [[Status]]
 
* [[Status]]
 +
 +
=== Problems and solutions ===
 +
==== Double code execution ====
 +
;Problem
 +
:The function provided with the OnAction property is executed twice.
 +
;Solution
 +
:Put the function name in single quotes:
 +
<syntaxhighlight lang="vb">
 +
.OnAction="'functionname'"
 +
</syntaxhighlight>

Revision as of 22:47, 25 January 2015

This site is all about Visual Basic and Visual Basic for Applications.

Conventions

VBA

Conventions

Concepts

Code

Problems and solutions

Double code execution

Problem
The function provided with the OnAction property is executed twice.
Solution
Put the function name in single quotes:
.OnAction="'functionname'"