|
|||||||||||||||||||||
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem between Excel english / french
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: Code:
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
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 |
|
#2
|
||||
|
||||
|
Hi Ritch and welcome to the board
Does the debugger give the line with the RC ref as the wrong one?
__________________
Cheers Here you can find the forum rules Non English speaking forum Relevant keyword thread title helps searching for info |
|
#6
|
|||
|
|||
|
"MacroAutoComplete" is a Macrosheet 4.0 and "R1C1:R5C1" is the row:column reference where are the macro command on the sheet.
And dont forget its wokring with english excel version, the problem occur only with french version. So maybe there's another way to give the OnAction event the sheet!row:column reference? Last edited by Cyberitch; 08-21-2008 at 07:11 PM. |
|
#8
|
|||
|
|||
|
Gosh now I feel old!!! Its ok its very hard to find info about macro 4.0, and if you wanna know, its used for mobile device like pocket pc. Since you cant run (not yet) VBA on mobile device I use those old macro to do some automated actions. Is there another way to reference a cell not using R1:C1 ? |
|
#10
|
||||
|
||||
|
isnt french equivalent of R1C1 ..... L1C1
look in tools options general(what that is in french i have no idea)for where youd expect see the use r1c1 reference style |
|
#11
|
|||
|
|||
|
Named range?
Yes in tools / options / general / ref style its L1C1 in french, whats that? You mean Excel expect L1 instead of R1? |
|
#12
|
||||
|
||||
|
possibly, try it or maybe
OnAction = "MacroAutoComplete!Cells(1, 1).Cells(5, 1)" |
![]() |
| Bookmarks |
New topics in Non English Excel
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|