With a few exceptions, Microsoft Office and $[officename] cannot run the same macro code. Microsoft Office uses VBA (Visual Basic for Applications) code, and $[officename] uses Basic code based on the $[officename] API (Application Program Interface) environment. Although the programming language is the same, the objects and methods are different.
有一些例外，Microsoft Office 和 $[officename] 不能运行相同的宏代码。Microsoft Office 使用 VBA (Visual Basic for Applications) 代码，而 $[officename] 使用基于 $[officename] API（Application Program Interface，应用程序接口）环境的 Basic 代码。虽然编程语言相同，但其中的对象和方法不同。