Visual Basic for Applications

From vb24
Revision as of 14:54, 7 February 2015 by Dec (talk | contribs)
Jump to navigation Jump to search

General

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'"