gennaro
Senior Member
Salve Sig Luigi, volevo sottoporle qst semplice script ed analizzare il mio output ... (SM v1.3.40)
mi fornisce...
...cosa accade ? eheheheh sbaglio qlkosa?
Codice:
Sub Main()
For estr = EstrazioneFin To EstrazioneFin - 30 Step - 1
Call CheGiornoE(estr,NomeGiorno)
Scrivi estr & " " & NomeGiorno & " " & DataEstrazione(estr)
Next 'estr
End Sub
Function CheGiornoE(idEstr,GetCheGiornoE_Nome) 'by LuigiB, adapted by Gennaro
Dim sData
sData = Replace(DataEstrazione(idEstr),".","/")
Select Case WeekDay(sData)
Case 3
GetCheGiornoE_Nome = "Mar"
Case 5
GetCheGiornoE_Nome = "Gio"
Case 7
GetCheGiornoE_Nome = "Sab"
End Select
End Function
mi fornisce...
Codice:
[FONT=Courier New][SIZE=2][COLOR=#000000]8499 Mar 21.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8498 Sab 18.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8497 Gio 16.02.2012
[/COLOR][/SIZE][/FONT][U][B][FONT=Courier New][SIZE=2][COLOR=#000000]8496 Mar 14.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8495 Mar 11.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8494 Mar 09.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8493 Mar 07.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8492 Mar 04.02.2012
[/COLOR][/SIZE][/FONT][/B][/U][FONT=Courier New][SIZE=2][COLOR=#000000]8491 Gio 02.02.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8490 Mar 31.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8489 Sab 28.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8488 Gio 26.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8487 Mar 24.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8486 Sab 21.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8485 Gio 19.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8484 Mar 17.01.2012
[/COLOR][/SIZE][/FONT][U][B][FONT=Courier New][SIZE=2][COLOR=#000000]8483 Sab 14.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8482 Sab 12.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8481 Sab 10.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8480 Sab 07.01.2012
[/COLOR][/SIZE][/FONT][/B][/U][FONT=Courier New][SIZE=2][COLOR=#000000]8479 Mar 05.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8478 Gio 03.01.2012
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8477 Sab 31.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8476 Gio 29.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8475 Mar 27.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8474 Sab 24.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8473 Gio 22.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8472 Mar 20.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8471 Sab 17.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8470 Gio 15.12.2011
[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#000000]8469 Mar 13.12.2011
[/COLOR][/SIZE][/FONT]
...cosa accade ? eheheheh sbaglio qlkosa?