risposta chiarissima come sempre...
l'unica cosa che non mi torna è la && nel concatenare le stringhe, mi funziona solo se ne metto una sola..
Il codice funzionante è questo:
Codice PHP:
For rigaInput 2 To fI.Cells(fI.Rows.Count1).End(xlUp).Row  
years4 
Format(fI.Cells(rigaInput1), "yyyy"
years2 Format(fI.Cells(rigaInput1), "yy")
hours Format(fI.Cells(rigaInput1), "hh"
gregorian Format(fI.Cells(rigaInput1), "dd/mm/yyyy"
dateTo "01/01/" years4 
julian 
DateDiff("d"dateTogregorian)  
fI.Cells(rigaInput1) = years2 " " julian " " hours  
Next rigaInput 
non è certo alta programmazione ma fa quello che serve..
grazie dell'aiuto...