Skip to content

Commit 849c295

Browse files
[excel] (VBA Differences) Adding note about scripts requiring licenses (#601)
* Adding note about scripts requiring licenses * Update docs/resources/vba-differences.md Co-authored-by: Elizabeth Samuel <[email protected]> --------- Co-authored-by: Elizabeth Samuel <[email protected]>
1 parent 0bfbf5a commit 849c295

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/resources/vba-differences.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Differences between Office Scripts and VBA macros
33
description: The behavior and API differences between Office Scripts and Excel VBA macros.
44
ms.topic: product-comparison
5-
ms.date: 02/13/2023
5+
ms.date: 04/05/2023
66
ms.localizationpriority: medium
77
---
88

@@ -24,6 +24,8 @@ The following table shows which features are supported by which platforms and pr
2424

2525
VBA is designed to be desktop-centric. VBA can interact with a user's desktop to connect with similar technologies, such as COM and OLE. However, VBA has no convenient way to call out to the internet. Office Scripts use a universal runtime for JavaScript. This gives consistent behavior and accessibility, regardless of the machine being used to run the script. They can also make calls to [a limited set of web services](../develop/external-calls.md).
2626

27+
Users require an enterprise or educational license to use or create Office Scripts. For the full list of supported licenses, see [Platform support](../testing/platform-limits.md#platform-support). VBA is built-in to the desktop versions of Excel and requires no special licensing.
28+
2729
## Security
2830

2931
VBA macros have the same security clearance as Excel. This gives them full access to your desktop. Office Scripts only have access to the workbook, not the machine hosting the workbook. Additionally, no JavaScript authentication tokens can be shared with scripts. This means the script has neither the tokens of the signed-in user nor are there any API capabilities for signing in to an external service, so they are unable to use existing tokens to make external calls on behalf of the user.

0 commit comments

Comments
 (0)