Lipadec
XLDnaute Occasionnel
Bonjour le Forum et bon début de semaine
Après une longue absence, je reviens vers vous pour vous demander de l'aide
Je voudrai une macro qui pourra me générer un fichier xml suivant un fichier excel défini 2003 ou 2007
sur le fichier excel j'ai:
RAISON SOCIALE
ID_FISCALE
ANNEE
PERIODE(MOIS)
REGIME(ENCAISSEMENT)
puis sur chaque cellule à partir de A, il y a:
ord num des mht tva ttc if nom ice tx id dpai dfac
Le modèle du fichier xml que j'espère avoir sera comme suit
<?xml version="1.0"?>
<DeclarationReleveDeduction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<identifiantFiscal>----</identifiantFiscal>
<annee>----</annee>
<periode>----</periode>
<regime>----</regime>
<releveDeductions>
<rd>
<ord>----</ord>
<num>----</num>
<des>----</des>
<mht>----</mht>
<tva>----</tva>
<ttc>----</ttc>
<refF>
<if>----</if>
<nom>----</nom>
<ice>----</ice>
</refF>
<tx>----</tx>
<mp>
<id>----</id>
</mp>
<dpai>----</dpai>
<dfac>----</dfac>
</rd>
Merci d'avance pour votre aide
Lipadec
Après une longue absence, je reviens vers vous pour vous demander de l'aide
Je voudrai une macro qui pourra me générer un fichier xml suivant un fichier excel défini 2003 ou 2007
sur le fichier excel j'ai:
RAISON SOCIALE
ID_FISCALE
ANNEE
PERIODE(MOIS)
REGIME(ENCAISSEMENT)
puis sur chaque cellule à partir de A, il y a:
ord num des mht tva ttc if nom ice tx id dpai dfac
Le modèle du fichier xml que j'espère avoir sera comme suit
<?xml version="1.0"?>
<DeclarationReleveDeduction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<identifiantFiscal>----</identifiantFiscal>
<annee>----</annee>
<periode>----</periode>
<regime>----</regime>
<releveDeductions>
<rd>
<ord>----</ord>
<num>----</num>
<des>----</des>
<mht>----</mht>
<tva>----</tva>
<ttc>----</ttc>
<refF>
<if>----</if>
<nom>----</nom>
<ice>----</ice>
</refF>
<tx>----</tx>
<mp>
<id>----</id>
</mp>
<dpai>----</dpai>
<dfac>----</dfac>
</rd>
Merci d'avance pour votre aide
Lipadec