References between projects that target different runtimes or.NET Framework profiles are not supported. This reference will be treated as a file assembly reference. When modifying code in the referenced project, you will need to rebuild it to update some Visual Basic features, such as IntelliSense and background error messages.
Methods which do not access instance data or call instance methods can be marked as static (Shared in Visual Basic). After doing so, the compiler will emit non-virtual call sites to these members which will prevent a check at runtime for each call that ensures the current object pointer is non-null. This can result in a measurable performance gain for performance-sensitive code. In some cases, the failure to access the current object instance represents a correctness issue.
Access can perform an evaluation of data, or of an SQL statement supplied by a local object reference, but it cannot evaluate data supplied by a function in Visual Basic for Applications (VBA). If the SQL statement in the function has syntax errors, or has a reference to a variable supplied by the user at runtime and the user provides an invalid response, this error message may appear.
Increase efficiency and save time by automating repetitive tasks using Visual Basic.
通过使用 Visual Basic 自动执行重复性的任务,从而提高效率,节约时间。
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.