You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api/Excel.Name.RefersToLocal.md
+14-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,20 @@ For Each nm In ActiveWorkbook.Names
38
38
Next
39
39
```
40
40
41
+
## Known issues
41
42
43
+
This property has a bug. Assigning a localized formula to this property fails. The property expects the same formula syntax as the RefersTo property: US format and list separators. Example:
44
+
45
+
```vb
46
+
SubExample()
47
+
DimNmAsName
48
+
SetNm=ThisWorkbook.Names("test")
49
+
'If Windows is set to use ; as listseparator, this fails:
50
+
Nm.RefersToLocal="=SUM(Sheet1!$A$1,Sheet1!$A$3)"
51
+
'If Windows is set to use ; as listseparator, this works:
52
+
Nm.RefersToLocal="=SUM(Sheet1!$A$1;Sheet1!$A$3)"
53
+
EndSub
54
+
```
42
55
43
56
44
-
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]
57
+
[!include[Support and feedback](~/includes/feedback-boilerplate.md)]
0 commit comments