This is probably a bug, but Im looking for a way to bypass the problem.
I dynamically (VBA) add dropdown list on top of some cells and set a call to a macro on the OnAction command like this:
With Worksheets("Page1")
Set lb = .Shapes.AddFormControl(xlDropDown, Range("$G$2").Left, Range("$G$2").Top - 1, Range("$G$2").Width, 15.75)
lb.ControlFormat.ListFillRange = "PagePara!$J$2:$J$4"
lb.ControlFormat.LinkedCell = "$G$2"
lb.OnAction = "MacroAutoComplete!R1C1:R5C1"
End With
When Excel is in english, no problem, when Excel is in french the OnAction give me an execution error '1004' the formula is to complicated to be affected to the object (translated from french...).
I suspect that in french the reference "MacroAutoComplete!R1C1:R5C1" is not possible. What should be the universal compatible way to set the reference?
Thanks.
~Ritch
Bookmarks