Bonjour à tous,
j'avance dans mon problème (suite à une première discussion dans laquelle on m'a donné une première réponse https://forum.excel-pratique.com/excel/remplissage-automatique-d-une-valeur-t80995.html).
Je vais essayer d'expliquer mon problème le mieux possible.
Pour un import dans Wordpress, j'ai un fichier csv que je dois éditer. Celui-ci présent plusieurs colonnes et une seule ligne initialement.
Si pour la plupart des cellules j'ai réglé mon problème, pour l'une d'entre elle j'ai un souci de guillemets à priori.
Dans cette cellule le contenu est le suivant :
[et_pb_section fullwidth="on" specialty="off" admin_label="Section" transparent_background="off" background_color="#ffffff" allow_player_pause="off" inner_shadow="off" parallax="off" parallax_method="off" padding_mobile="off" make_fullwidth="off" use_custom_width="off" width_unit="on" make_equal="off" use_custom_gutter="off"]<h2 style="text-align: center;">bla bla [VALEUR] Bla bla</h2>[/et_pb_section]
pour implémenter [VALEUR], j'appelle une valeur d'un autre fichier.
Le contenu de ma cellule devient donc :
="[et_pb_section fullwidth="on" specialty="off" admin_label="Section" transparent_background="off" background_color="#ffffff" allow_player_pause="off" inner_shadow="off" parallax="off" parallax_method="off" padding_mobile="off" make_fullwidth="off" use_custom_width="off" width_unit="on" make_equal="off" use_custom_gutter="off"]<h2 style="text-align: center;">bla bla" & [Fichier2.xlsx]Feuil1!$A$1 & " Bla bla</h2>[/et_pb_section]"
Sauf que comme mon contenu contient également des guillemets... je ne sais pas trop comment mettre en forme cela sachant que le résultat attendu dans ma cellule, si la valeur est TOTO est le suivant :
[et_pb_section fullwidth="on" specialty="off" admin_label="Section" transparent_background="off" background_color="#ffffff" allow_player_pause="off" inner_shadow="off" parallax="off" parallax_method="off" padding_mobile="off" make_fullwidth="off" use_custom_width="off" width_unit="on" make_equal="off" use_custom_gutter="off"]<h2 style="text-align: center;">bla bla TOTO Bla bla</h2>[/et_pb_section]
J'espère que c'est un minimum compréhensible...
Merci d'avance