Skip to content

Commit a65a612

Browse files
Update Usage01.md
1 parent 45d30af commit a65a612

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/tutorials/Usage01.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
A very simple usage example
22
---
33

4-
You can try out xlpython from the VBA Immediate Window (Ctrl + G if it's not already visible in the VBA window).
4+
You can try out ExcelPython from the VBA Immediate Window (Ctrl + G if it's not already visible in the VBA window).
55

66
Type the following
77

@@ -12,6 +12,8 @@ and press return. You should see
1212
?Py.Str(Py.Eval("1+2"))
1313
3
1414

15+
(It can happen that you get an `Object required` error - this is probably because when you press return in the Immediate Window, you must have your ExcelPython-enabled workbook selected from the VBA project list. This is because otherwise the Immediate Window statement will execute in the wrong VBA context and therefore will not be able to find the `Py` function.)
16+
1517
You can try evaluating any Python expression, and you'll get the result
1618
printed in the Immediate Window.
1719

0 commit comments

Comments
 (0)