Probleme de formule Excel ->VBA Syntaxe
Bonjour à tous :
J'ai un soucis de synthaxe mais je ne comprends vraiment pas peut etre que vous allez pouvoir m'aider
J'ai le code ci dessous :
Code:
1 2
| b = "=IFERROR(INDEX(BDS(" & Cells(2, 2).Address & " & "" ISIN"";""PCT_OWNERSHIP_TYP"";""startcol=2"";""array=true"");MATCH(""Government"";BDS(" & Cells(2, 2).Address & " & "" ISIN"";""PCT_OWNERSHIP_TYP"";""endcol=1"";""array=true"");0))/100;0)"
Range("C80") = b |
Quand je tape ?b dans l'imediate control il me retourne
IFERROR(INDEX(BDS($B$2 & " ISIN";"PCT_OWNERSHIP_TYP";"startcol=2";"array=true");MATCH("Government";BDS($B$2 & " ISIN";"PCT_OWNERSHIP_TYP";"endcol=1";"array=true");0))/100;0)
Si je copie cette formule dans excel cela fonctionne parfaitement.
Ma question est donc la suivante :
Pourquoi ca ne fonctionne pas avec Range("C80") = b
Merci à vous