🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #2718

Re: aiutino :o)

#2718
From: Franco Mario
Date: Sat, 01 Mar 2003 23:43
75 lines
3472 bytes
Ciao Franco e grazie per aver risposto. Il codice che ho inserito e quello
che vedo nella textbox2, se vuoi ti posso inviare il file di excel per
e_mail cosi puoi verlo.
Grazie ancora
Franco Mario


"Franco Veneziano" <franco72.veneziano@tiscali.it> ha scritto nel messaggio
news:b3qb2f$upl$1@lacerta.tiscalinet.it...
> Ciao,
> dovresti dirci cosa vedi in Textbox2.
>
> Ciao Franco
>
> Franco Mario <ilgrandeblek@tin.it> wrote in message
> yzN7a.251403$0v.6984791@news1.tin.it...
> > Ciao a tutti avrei bisogno di un favore, ho trovato su internet un
foglio
> di
> > excel per magazzino ed e molto bello, ma mi chiede nome utente e pasword
> per
> > cambiare alcune cose, dal codice di visula basic (che io non conosco per
> > nulla) si puo sapere che nome mettere? il codice e questo
> > Grazie a tutti
> >
> > Dim frase(20) As String, a As Integer, pass As String
> > Private Sub CommandButton1_Click()
> >     On Error Resume Next
> >     Application.EnableCancelKey = xlDisabled
> >     Application.ScreenUpdating = False
> >     pass = TextBox1.Text
> >     a = Len(pass)
> >     Select Case a
> >         Case Is < 6
> >             MsgBox "Nome non valido, immetti almeno sei lettere",
> > vbExclamation
> >             Exit Sub
> >         Case Is > 10
> >             pass = Mid(pass, 1, 10)
> >         Case Is < 10
> >             pass = pass + "dtlw"
> >             pass = Mid(pass, 1, 10)
> >     End Select
> >     For i = 1 To 10
> >         a = Asc(Mid(pass, i, 1)) + i
> >         If a > 122 Then a = a - 122 + 60
> >         frase(i) = Chr$(a)
> >     Next
> >     If TextBox2 = frase(5) + frase(1) + "/5" + frase(7) + frase(1) +
> > frase(3) + frase(2) + frase(8) + "3" + frase(4) + "\5" + frase(10) +
> > frase(9) Then
> >         With Sheets("Copertina")
> >             .Select
> >             .Unprotect ("�=@���[]125.;:448973%&$�~|)0hgdtstYFAJJH")
> >             .Range("e10").Value = True
> >             .Range("e11").Value = TextBox1.Text
> >         End With
> >         Sheets("Copertina").Protect
> > ("�=@���[]125.;:448973%&$�~|)0hgdtstYFAJJH")
> >     Else: MsgBox "Password errata", vbExclamation
> >     End If
> >     Application.ScreenUpdating = True
> >     Unload Me
> > End Sub
> > Private Sub CommandButton2_Click()
> >     Unload Me
> > End Sub
> >
> > Private Sub TextBox2_Change()
> >
> > End Sub
> >
> >
>
>
Technical Details
Message-ID: <jAb8a.257817$0v.7183573@news1.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail
References: <yzN7a.251403$0v.6984791@news1.tin.it> <b3qb2f$upl$1@lacerta.tiscalinet.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,850395a2b531aa3f
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-03-01 15:43:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail
From: "Franco Mario" <ilgrandeblek@tin.it>
Newsgroups: free.it.visual-basic
References: <yzN7a.251403$0v.6984791@news1.tin.it> <b3qb2f$upl$1@lacerta.tiscalinet.it>
Subject: Re: aiutino :o)
Lines: 77
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <jAb8a.257817$0v.7183573@news1.tin.it>
Date: Sat, 01 Mar 2003 23:43:11 GMT
NNTP-Posting-Host: 62.211.147.16
X-Complaints-To: newsmaster@tin.it
X-Trace: news1.tin.it 1046562191 62.211.147.16 (Sun, 02 Mar 2003 00:43:11 MET)
NNTP-Posting-Date: Sun, 02 Mar 2003 00:43:11 MET
Organization: TIN