IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Macros et VBA Excel Discussion :

VBA - Importer Fichier HTM depuis site avec mdp


Sujet :

Macros et VBA Excel

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    42
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2007
    Messages : 42
    Par défaut VBA - Importer Fichier HTM depuis site avec mdp
    Bonjour a tous,

    Chaque matin, depuis maintenant plusieurs mois, j'effectue manuellement une opération un peu longue...et je pense qu'il doit toujours avoir un moyen de l'automatiser. Du moins cela me ferait gagner pas mal de temps

    En gros, je me connecte pour l'intranet de mon page a une application qui me demande me logguer, ensuite une série de list-box apparaisse qui me demande de choisir la date ainsi que le centre qui me concerne...
    Une fois que j'ai selectionnée mes fois, cela m'envoie sur une page ou je telecharge soit un fichier excel tout fait, soit je peux ouvrir le fichie en HTM...

    Le but est donc de zapper chaque jour l'étape de loggue / selectionner date/ site etc...Je souhaiter lancer une maccro qui m'automatise le tout...

    Par contre, je ne sais absolument pas comment m'y prendre...

    Qaund je suis a la dernier page, le lien pour telecharger le fichier est:

    - javascript:open_popup('report/GREG.htm',600,500);

    Le lien ne possede donc pas d'info apparente sur la date / site concerné

    Si je regarde dans les sources, rien n'apparait non plus concernant ces infos...

    Globalement, comment faire, pour recuperer toutes les infos que j'ai transmise (date / site concerné) et automatiser cela via un macro excel (ou acces si cela est plus simple)

    Il doit surement vous manquer plein d'infos, mais une gentille ame, pourrait'elle m'aider a réaliser ce projet pas à pas ou m'orienter vers un début de code / m'expliquer par ou commencer.

    Pour info je travaille sous Ecxel / Access 2002.
    Merci d'avance

  2. #2
    Membre averti
    Profil pro
    Inscrit en
    Mai 2007
    Messages
    42
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2007
    Messages : 42
    Par défaut
    Je me permets d'upper le message et de redéfinir ma demande

    Adresse de Base :

    http://pisteur.colis.intra.laposte.f...thode=preparer

    Source Affiliée
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
     
    <html lang="en">
    <head>
    <title>GEOPOST - SYGEP</title>
     
    <SCRIPT LANGUAGE="Javascript1.1"> 
    <!-- Begin 
     
    	 var bCancel = false; 
     
    	 function validateConnectionForm(form) {                                                                   
    	      if (bCancel) 
    	 	return true; 
    	      else 
    	 	return validateRequired(form); 
    	 } 
     
    	 function required () { 
    	    this.aa = new Array("login", "Le champ Login est obligatoire.", new Function ("varName", " return this[varName];"));
    	    this.ab = new Array("password", "Le champ Password est obligatoire.", new Function ("varName", " return this[varName];"));
    	 } 
     
     
    //  End -->
    </SCRIPT>
     
     
    <SCRIPT LANGUAGE="Javascript1.1" src="librairie/staticJavascript.jsp" ></script>
     
     
     
    <link rel="stylesheet" href="css/Sygep.css" type="text/css">
    </head>
    <body bgcolor="#FFFFFF" text="#000000"  >
     
    <form name="ConnectionForm" method="POST" action="/sygep/Authentifier.do;jsessionid=pisteur.colis.intra.laposte.fr-1d4%3A49d07616%3A4ff61ee3d4ffa77d" onsubmit="return validateConnectionForm(this)">
      <!-- Positionne la méthode a exécuter côté serveur -->
      <input type="hidden" name="methode" id="methode" value="connexion" >
     
     <center>
    	 <table width="753" border="0" bgcolor="#0031B5" cellspacing="0"  >
    	   <tr>
    	     <td width="350" ><img src="images/LogoPoste2.gif"  ></td>
    	     <td width="190" ><img src="images/LogoSYGEP.gif" width="109" height="26"></td>
    	     <td width="130" class="titreVersion" >Version&nbsp;3.0.6</td>
    	     <td>&nbsp;</td>
    	   </tr>
    	</table>
     
     
     
     
     
      <h1 class="titreApplication"  >Veuillez vous authentifier.</h1>
      <br>
     
      <table>
        <tr>
          <td>Login : </td>
          <td><input type="text" name="login" maxlength="12" size="12" value=""></td>
        </tr>
     
        <tr>
          <td>Password : </td>
          <td><input type="password" name="password" maxlength="12" size="12" value=""></td>
        </tr>
      </table>
     
     
      <p>
        <input type="image" src="images/boutons/Connexion_Ovale.gif"  border="0" >
      </p>
     <!-- input type="submit" name="btnValider" value="Connexion" -->
     </center>
     
    </form>
    <script language="JavaScript" type="text/javascript">
      <!--
        document.forms["ConnectionForm"].elements["login"].focus()
      // -->
    </script>
     
     
    </body>
    </html>

    Une fois le mot de passe rentré, j’arrive sur cette URL :

    http://pisteur.colis.intra.laposte.f...f61ee3d4ffa77d

    Bizarrement on retrouve la chaîne terminant par 77d…Je pense donc que nous devons rajouté a cette endroit ma valeur pass+ user
    Par exemple :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ThisWorkbook.FollowHyperlink "http://pisteur.colis.intra.laposte.fr:8075/sygep/Authentifier.do;jsessionid=pisteur.colis.intra.laposte.fr-1d4%3A49d07616%3A4ff61ee3d4ffa77d?login=XXXXX&password=XXXXX", , True
    Mais malheuresement cela ne fonctionne pas .Commen faire?

    Voila pour la 1ere etape…


    La seconde étape :

    Voici le code de la page sur laquelle nous nous trouvons
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
     
    <html lang="fr">
     
    <head>
      <title>
        GEOPOST - SYGEP
      </title>
      <!-- meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" -->
      <link rel="stylesheet" href="css/Sygep.css" type="text/css">
    </head>
    <script language="javascript" >
     
    //  alert("Saisie en cours " + null);	
     
     
    	var blnSaisieEncours = false; // Flag indiquant une saisie en cours.
     
     
      function fcPositionneFlagSaisieEnCours(flag){
          blnSaisieEncours = flag;
      }
     
      function fcConfirmAbandonSaisieEnCours(){
     //   alert("dans la methode");
     //   alert(blnSaisieEncours);
            if(blnSaisieEncours){
          if(confirm("Attention, vous allez perdre vos modifications !\nEtes-vous sûr de vouloir continuer ?")){
            return true;
          }else{
            return false;
          }
        }else{
          return true;
        }
      }
     
     
     function fcAide(urlPageAide){
        newWindow = window.open (urlPageAide, 'SYGEP', 'scrollbars=yes,status=no,width=700,height=500');
      }
    </script>
     
    <body bgcolor="#FFFFFF" text="#000000"  >
    <center>
     
      <table width="753" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" >
        <tr>
        <td colspan="2" width="753" >
          <!-- DEBUT BANDEAU -->
     
     
    <table width="753" border="0" bgcolor="#0031B5" cellspacing="0"  >
      <tr>
        <td width="350" ><img src="images/LogoPoste2.gif"  ></td>
        <td width="190" ><img src="images/LogoSYGEP.gif" width="109" height="26"></td>
        <td width="130" class="titreVersion" >Version&nbsp;3.0.6</td>
        <td>&nbsp;<a href="aide.doc" ><img src="images/Aide.gif" border="0" alt="Aide en ligne" ></a></td>
       </tr>
    </table>
     
          <!-- FIN BANDEAU -->
        </td>
      </tr>
      <tr >
          <td width="164" valign="top"  >
            <!-- DEBUT DU MENU -->
     
     
     
     
     
     
     
     
    <table width="164" border="0"   >
      <!-- logic:notEqual name="utilisateur" property="convoyeurTypeUtilisateur.adminOk" value="true" scope="session" -->
     
     
     
     
     
     
     
     
     
     
     
      <tr>
              <td>
    	   <!-- Debut MENU SAISIE -->
                 <table width="164" border="0">
                  <tr align="center">
                      <td colspan="2" width="164px" ><img src="images/Saisie.gif" width="59" height="20"></td>
                  </tr>
     
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionFeuillesPresences.do?methode=preparerRecherchePresences" onclick="return fcConfirmAbandonSaisieEnCours();">Pr&eacute;sence</a></td>
                      <!-- d width="147" class="itemMenu" ><a href="/sygep/GestionFeuillesPresences.do?methode=selectionSite" onclick="return fcConfirmAbandonSaisieEnCours();">Pr&eacute;sence</a></td -->
                  </tr>
                  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionEntraidesJournaliere.do?methode=preparerRechercheEntraides" onclick="return fcConfirmAbandonSaisieEnCours();">Entraide</a></td>
                  </tr>
     
    			  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionActivitesJournalieres.do?methode=preparerRechercheActivites" onclick="return fcConfirmAbandonSaisieEnCours();">Activit&eacute;s</a></td>
                  </tr>
     
    			  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionRestesJournaliers.do?methode=initGestionRestes" onclick="return fcConfirmAbandonSaisieEnCours();">Restes</a></td>
                  </tr>
     
                  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu"><a href="/sygep/GestionMotDePasse.do?methode=preparerSaisie" onclick="return fcConfirmAbandonSaisieEnCours();">Mot&nbsp;De&nbsp;Passe</a></td>
                  </tr>
     
                </table>
               <!-- FIN MENU SAISIE -->
               </td>
      </tr>
     
     
     
     
     
     
     
        	<tr>
    	    <td>
                  <!-- DEBUT MENU STATISTIQUES -->
               <table width="164" border="0">
                  <tr align="center">
                      <td colspan="2" width="164px"><img src="images/Statistiques.gif" width="112" height="21"></td>
                  </tr>
     
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/ControleCoherence.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Contr&ocirc;le coh&eacute;rence</a></td>
                  </tr>
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/ProductiviteHorairExploitationSite.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Productivit&eacute;&nbsp;par&nbsp;sites</a></td>
                  </tr>
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/ProductiviteHoraireParEquipe.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Productivit&eacute; par &eacute;quipes</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/TraficGlobalTrieParPFC.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Trafic tri&eacute; par sites</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/TraficGlobalEnTransitParPFC.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Trafic en transit par sites</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/TauxSaisieDesRestes.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Taux de saisie des restes</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/StatistiquesDesRestes.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Statistiques des restes</a></td>
                  </tr>
     
                </table>
                <!-- FIN MENU STATISTIQUES -->
    	  </td>
          </tr>
     
    </table>
            <!-- FIN DU MENU -->
          </td>
        <td width="589"  valign="top" >
          <!-- DEBUT CONTENU -->
     
    <table width="580" border="0" >
       <tr>
        	<td>&nbsp;</td>
       </tr>
    </table>
     
     
          <!-- FIN CONTENU -->
        </td>
      </tr>
      <tr>
        <td colspan="2" width="753" >
          <!-- DEBUT PIED DE PAGE -->
     
    <table width="753" border="0" >
       <tr>
        	<td>&nbsp;</td>
       </tr>
    </table>
     
     
          <!-- FIN PIED DE PAGE -->
        </td>
      </tr>
    </table>
     
    </center>
    </body>
    </html>
    Je souhaite betement cliquer sur « Productivité Par sites »
    Ce qui nous emmene à

    http://pisteur.colis.intra.laposte.f...thode=preparer

    Ensuite, nous arrivons sur une page ou je dois cliquer sur un mini calendrier et selectionner les dates qui m’interesse (Valeur Haute + Basse) et cliquer sur rechercher Voici le code de la page :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
     
     
     
     
     
     
     
     
     
     
     
    <html lang="fr">
     
    <head>
      <title>
        GEOPOST - SYGEP
      </title>
      <!-- meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" -->
      <link rel="stylesheet" href="css/Sygep.css" type="text/css">
    </head>
    <script language="javascript" >
     
    //  alert("Saisie en cours " + null);	
     
     
    	var blnSaisieEncours = false; // Flag indiquant une saisie en cours.
     
     
      function fcPositionneFlagSaisieEnCours(flag){
          blnSaisieEncours = flag;
      }
     
      function fcConfirmAbandonSaisieEnCours(){
     //   alert("dans la methode");
     //   alert(blnSaisieEncours);
            if(blnSaisieEncours){
          if(confirm("Attention, vous allez perdre vos modifications !\nEtes-vous sûr de vouloir continuer ?")){
            return true;
          }else{
            return false;
          }
        }else{
          return true;
        }
      }
     
     
     function fcAide(urlPageAide){
        newWindow = window.open (urlPageAide, 'SYGEP', 'scrollbars=yes,status=no,width=700,height=500');
      }
    </script>
     
    <body bgcolor="#FFFFFF" text="#000000"  >
    <center>
     
      <table width="753" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" >
        <tr>
        <td colspan="2" width="753" >
          <!-- DEBUT BANDEAU -->
     
     
    <table width="753" border="0" bgcolor="#0031B5" cellspacing="0"  >
      <tr>
        <td width="350" ><img src="images/LogoPoste2.gif"  ></td>
        <td width="190" ><img src="images/LogoSYGEP.gif" width="109" height="26"></td>
        <td width="130" class="titreVersion" >Version&nbsp;3.0.6</td>
        <td>&nbsp;<a href="aide.doc" ><img src="images/Aide.gif" border="0" alt="Aide en ligne" ></a></td>
       </tr>
    </table>
     
          <!-- FIN BANDEAU -->
        </td>
      </tr>
      <tr >
          <td width="164" valign="top"  >
            <!-- DEBUT DU MENU -->
     
     
     
     
     
     
     
     
    <table width="164" border="0"   >
      <!-- logic:notEqual name="utilisateur" property="convoyeurTypeUtilisateur.adminOk" value="true" scope="session" -->
     
     
     
     
     
     
     
     
     
     
     
      <tr>
              <td>
    	   <!-- Debut MENU SAISIE -->
                 <table width="164" border="0">
                  <tr align="center">
                      <td colspan="2" width="164px" ><img src="images/Saisie.gif" width="59" height="20"></td>
                  </tr>
     
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionFeuillesPresences.do?methode=preparerRecherchePresences" onclick="return fcConfirmAbandonSaisieEnCours();">Pr&eacute;sence</a></td>
                      <!-- d width="147" class="itemMenu" ><a href="/sygep/GestionFeuillesPresences.do?methode=selectionSite" onclick="return fcConfirmAbandonSaisieEnCours();">Pr&eacute;sence</a></td -->
                  </tr>
                  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionEntraidesJournaliere.do?methode=preparerRechercheEntraides" onclick="return fcConfirmAbandonSaisieEnCours();">Entraide</a></td>
                  </tr>
     
    			  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionActivitesJournalieres.do?methode=preparerRechercheActivites" onclick="return fcConfirmAbandonSaisieEnCours();">Activit&eacute;s</a></td>
                  </tr>
     
    			  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu" ><a href="/sygep/GestionRestesJournaliers.do?methode=initGestionRestes" onclick="return fcConfirmAbandonSaisieEnCours();">Restes</a></td>
                  </tr>
     
                  <tr>
                      <td width="17"  align="center"  ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                      <td width="147" class="itemMenu"><a href="/sygep/GestionMotDePasse.do?methode=preparerSaisie" onclick="return fcConfirmAbandonSaisieEnCours();">Mot&nbsp;De&nbsp;Passe</a></td>
                  </tr>
     
                </table>
               <!-- FIN MENU SAISIE -->
               </td>
      </tr>
     
     
     
     
     
     
     
        	<tr>
    	    <td>
                  <!-- DEBUT MENU STATISTIQUES -->
               <table width="164" border="0">
                  <tr align="center">
                      <td colspan="2" width="164px"><img src="images/Statistiques.gif" width="112" height="21"></td>
                  </tr>
     
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/ControleCoherence.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Contr&ocirc;le coh&eacute;rence</a></td>
                  </tr>
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/ProductiviteHorairExploitationSite.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Productivit&eacute;&nbsp;par&nbsp;sites</a></td>
                  </tr>
     
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/ProductiviteHoraireParEquipe.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Productivit&eacute; par &eacute;quipes</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/TraficGlobalTrieParPFC.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Trafic tri&eacute; par sites</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/TraficGlobalEnTransitParPFC.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Trafic en transit par sites</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/TauxSaisieDesRestes.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Taux de saisie des restes</a></td>
                  </tr>
                  <tr>
                      <td width="17"  align="center" ><img src="images/puces/PucesJaunes.gif" width="10" height="10"></td>
                    <td width="147" class="itemMenu" ><a href="/sygep/StatistiquesDesRestes.do?methode=preparer" onclick="return fcConfirmAbandonSaisieEnCours();">Statistiques des restes</a></td>
                  </tr>
     
                </table>
                <!-- FIN MENU STATISTIQUES -->
    	  </td>
          </tr>
     
    </table>
            <!-- FIN DU MENU -->
          </td>
        <td width="589"  valign="top" >
          <!-- DEBUT CONTENU -->
     
     
     
     
     
     
     
     
    <link rel="STYLESHEET" type="text/css" href="css/calendar.css">
    <script language="JavaScript" src="librairie/simplecalendar.js" type="text/javascript"></script>
     
    <SCRIPT LANGUAGE="Javascript1.1"> 
    <!-- Begin 
     
    	 var bCancel = false; 
     
    	 function validateProductiviteHoraireExploitationSitesForm(form) {                                                                   
    	      if (bCancel) 
    	 	return true; 
    	      else 
    	 	return validateRequired(form) && validateDate(form); 
    	 } 
     
    	 function required () { 
    	    this.aa = new Array("dateDebut", "Le champ Date Du est obligatoire.", new Function ("varName", "this.datePatternStrict='dd/MM/yyyy';  return this[varName];"));
    	    this.ab = new Array("dateFin", "Le champ Date Au est obligatoire.", new Function ("varName", "this.datePatternStrict='dd/MM/yyyy';  return this[varName];"));
    	 } 
     
    	 function DateValidations () { 
    	    this.aa = new Array("dateDebut", "Le champ Date Du n'est pas une date.", new Function ("varName", "this.datePatternStrict='dd/MM/yyyy';  return this[varName];"));
    	    this.ab = new Array("dateFin", "Le champ Date Au n'est pas une date.", new Function ("varName", "this.datePatternStrict='dd/MM/yyyy';  return this[varName];"));
    	 } 
     
     
    //  End -->
    </SCRIPT>
     
     
    <SCRIPT LANGUAGE="Javascript1.1" src="librairie/staticJavascript.jsp" ></script>
     
    <script language="javascript" >
        var blnRechercheActive = false;
     
    	function changeImage(obj,src){
    		obj.src = src;
    	}
     
    	function fcForceRecherche(){
    	  blnRechercheActive = false;
    	}
     
    	function fcAfficheAlerteRecherche(){
    		alert("Veuillez lancer la recherche avec les nouveaux critères !");
    	}
     
    	// Lance la recherche des sites
    	function fcRechercherSites(form){
    	  if(validateProductiviteHoraireExploitationSitesForm(form)){
               form.methode.value="rechercherSites";
               form.submit();
              }
    	}
     
    	function fcSelectionnerToutesPFC(){
    	  var form = document.ProductiviteHoraireExploitationSitesForm;
     
     
                    if(blnRechercheActive){
                      var nbSite = form.idSelection.length;
     
                      if(nbSite>1){
                        for(i=0;i<nbSite;i++){
                          form.idSelection[i].checked = true;
                        }
                      }else{
     
                          form.idSelection.checked = true;
                      }
     
    		}else{
    			fcAfficheAlerteRecherche();
    		}
    	}
     
     
    	function fcAnnulerSelection(){
    	  var form = document.ProductiviteHoraireExploitationSitesForm;
     
                    if(blnRechercheActive){
                      var nbSite = form.idSelection.length;
     
                      if(nbSite>1){
                        for(i=0;i<nbSite;i++){
                          form.idSelection[i].checked = false;
                        }
                      }else{
     
                          form.idSelection.checked = false;
                      }
     
    		}else{
    			fcAfficheAlerteRecherche();
    		}
    	}
     
    	// Lance l'execution des statistiques.
    	function fcCreerStatitistique(){
              var form = document.ProductiviteHoraireExploitationSitesForm;
     
            	if(blnRechercheActive){
     
                      // On vérifie que l'utilisateur a réalisé une sélection.
                      var nbSite = form.idSelection.length;
                      var blnSelection = false;
     
                      if(nbSite>1){
     
                        for(i=0;i<nbSite;i++){
                          blnSelection = form.idSelection[i].checked;
                          if(blnSelection)break;
                        }
     
                      }else{
     
                        blnSelection = form.idSelection.checked;
     
                      }
     
                      if(blnSelection){
     
                         form.methode.value="genererReport";
                         form.submit();
     
                      }else{
                         alert("Vous devez réaliser une sélection avant de créer les statistiques !");
                      }
     
     
    		}else{
    			fcAfficheAlerteRecherche();
    		}
    	}
     
     
     
    </script>
     
    <form name="ProductiviteHoraireExploitationSitesForm" method="POST" action="/sygep/ProductiviteHorairExploitationSite.do" onsubmit="return validateProductiviteHoraireExploitationSitesForm(this)">
    <input type="hidden" name="methode" id="methode" value="" >
     
     
     
     
    <table width="580" border="0"  >
       <tr>
        	<td align="center">
     
    	<table width="569" border="0">
    	  <tr>
              <td class="titrePage" > Productivit&eacute; par sites&nbsp;<a href="javascript:fcAide('statistiques/productivitehoraireexploitationsite/aide/recherche.htm')" ><img src="images/Aide.gif" border="0" alt="Aide en ligne" ></a></td>
    	  </tr>
          <tr>
                <td align="center"></td>
    	  </tr>
     
    	<tr>
    		<td align="center">
    		    <table width="545px" cellpadding="1" cellspacing="0" border="0" >
                  <tr class="lignePaire" >
                    <td rowspan="3" width="299"  >
                      <table width="150" cellpadding="1" cellspacing="0" border="0" class="lignePaire"  >
                        <tr>
                          <td  class="celluleTitreDroite" >&nbsp;Du </td>
                          <td ><input type="text" name="dateDebut" maxlength="11" size="11" value="">&nbsp;<a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'ProductiviteHoraireExploitationSitesForm.dateDebut',false,'dd/mm/yyyy'); fcForceRecherche(); return false;"><img src="images/calendar.gif" name="imgCalendar"  border="0" alt=""></a></td>
                        </tr>
                        <tr>
                          <td  class="celluleTitreDroite" >&nbsp;Au </td>
                          <td ><input type="text" name="dateFin" maxlength="11" size="11" value="">&nbsp;<a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'ProductiviteHoraireExploitationSitesForm.dateFin',false,'dd/mm/yyyy'); fcForceRecherche(); return false;"><img src="images/calendar.gif" name="imgCalendar"  border="0" alt=""></a></td> 
                        </tr>
                        <tr>
                          <td colspan="2" align="center"><a href="javascript:fcRechercherSites(document.ProductiviteHoraireExploitationSitesForm);"  ><img src="images/boutons/Rechercher_Ovale.gif" border="0" ></a>
                          </td>
                        </tr>
                      </table>
                    </td>
     
     
                    	<td>&nbsp;</td>
     
    			  </tr>
                  <tr class="lignePaire" >
     
     
                  	 <td>&nbsp;</td>
    			   </tr>
                  <tr class="lignePaire" >
     
     
    			  	<td>&nbsp;</td>
     
                  </tr>
                </table>
     
     
    		</td>
    	</tr>
    	  <tr>
              <td align="center" >
                <table width="545px" border="0" cellpadding="0" cellspacing="5" >
     
     
                  <tr>
                    <td align="center" colspan="4">
     
     
                    </td>
                  </tr>
                </table>
     
              </td>
    	  </tr>
    	</table>
     
    	  <br>
          </td>
       </tr>
    </table>
     
     
     
    </form>
     
          <!-- FIN CONTENU -->
        </td>
      </tr>
      <tr>
        <td colspan="2" width="753" >
          <!-- DEBUT PIED DE PAGE -->
     
    <table width="753" border="0" >
       <tr>
        	<td>&nbsp;</td>
       </tr>
    </table>
     
     
          <!-- FIN PIED DE PAGE -->
        </td>
      </tr>
    </table>
     
    </center>
    </body>
    </html>
    Et si j’arrive jusque la c’est déjà une énorme avancé 

Discussions similaires

  1. Importation fichier Exel depuis SAP+Pb point
    Par zineb87 dans le forum SAP
    Réponses: 10
    Dernier message: 13/03/2012, 09h23
  2. [PHP 5.0] import fichier csv dans mysql avec phpadmin
    Par lylya dans le forum Langage
    Réponses: 5
    Dernier message: 17/05/2010, 10h21
  3. Création fichier Excel depuis DataSet avec OleDb
    Par djidane39 dans le forum C#
    Réponses: 5
    Dernier message: 23/10/2009, 22h44
  4. [VBA] Importer fichier texte d'un lien HTML dans ACCESS
    Par VICTOIRE44 dans le forum VBA Access
    Réponses: 3
    Dernier message: 04/12/2006, 10h58
  5. importation fichiers multiples depuis excel vers excel
    Par zougna dans le forum Macros et VBA Excel
    Réponses: 1
    Dernier message: 21/11/2006, 17h04

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo