Creato da: fumarinox il 08/11/2005
osservazioni su fenomeni naturali

Area personale

 

Archivio messaggi

 
 << Settembre 2024 >> 
 
LuMaMeGiVeSaDo
 
            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            
 
 

Cerca in questo Blog

  Trova
 

FACEBOOK

 
 

I miei Blog Amici

Citazioni nei Blog Amici: 7
 

Ultime visite al Blog

ahmad785paolo_cdromanticoBOLOGNAlucirobertoCandido84monellaccio19f.tizyprefazione09muciaciom12ps12Domi_tgiselar_1980fumarinoxstregattodistratto
 

Chi può scrivere sul blog

Solo l'autore può pubblicare messaggi in questo Blog e tutti gli utenti registrati possono pubblicare commenti.
 
RSS (Really simple syndication) Feed Atom
 
 

 

 
« gestione iniziale in maiuscologestione monomi e trinomi »

gestione caratteri letterali

Post n°904 pubblicato il 09 Luglio 2010 da fumarinox
 

 

esercitazione con VBA su powerpoint

trasformare un testo in sole maiuscole o minuscole

http://digilander.libero.it/francescovise/vbacodice/cambiare.htm
http://digilander.libero.it/francescovise/vbacodice/cambiare.ppt
http://digilander.libero.it/francescovise/vbacodice/cambiare.GIF

Private Sub CommandButton1_Click()
Dim nome As String
nome = "PADOVA"
ListBox1.AddItem (nome & " " &
cambiare(nome))
nome = "PaDoVa"
ListBox1.AddItem (nome & " " & cambiare(nome))
nome = "Padova"
ListBox1.AddItem (nome & " " & cambiare(nome))
nome = "pAdOvA"
ListBox1.AddItem (nome & " " & cambiare(nome))
nome = "12 PADOVA + + "
ListBox1.AddItem (nome & " " & cambiare(nome))

End Sub

Function cambiare(testo As String) As String
Rem scrivere tutto minuscolo
Dim p As Integer
Dim nuovo As String
p = 1
lungo = Len(testo)
While p <= lungo
nuovo = nuovo & LCase(Mid$(testo, p, 1))
p = p + 1
Wend
cambiare = nuovo
End Function

Function cambiare2(testo As String) As String
Rem scrivere tutto maiuscolo
Dim p As Integer
Dim nuovo As String
p = 1
lungo = Len(testo)
While p <= lungo
nuovo = nuovo & UCase(Mid$(testo, p, 1))
p = p + 1
Wend
cambiare2 = nuovo
End Function

Private Sub CommandButton2_Click()
Dim nome As String
ListBox1.AddItem ("------------------------------")
nome = "PADOVA"
ListBox1.AddItem (nome & " " &
cambiare2(nome))
nome = "PaDoVa"
ListBox1.AddItem (nome & " " & cambiare2(nome))
nome = "Padova"
ListBox1.AddItem (nome & " " & cambiare2(nome))
nome = "pAdOvA"
ListBox1.AddItem (nome & " " & cambiare2(nome))
nome = "12 PADOVA + + "
ListBox1.AddItem (nome & " " & cambiare2(nome))
nome = "sodio e Potassio sono meTalli "
ListBox1.AddItem (nome & " " & cambiare2(nome))
End Sub

 

 
Condividi e segnala Condividi e segnala - permalink - Segnala abuso
 
 
La URL per il Trackback di questo messaggio è:
https://blog.libero.it/sperimenta/trackback.php?msg=9039519

I blog che hanno inviato un Trackback a questo messaggio:
 
Nessun Trackback
 
Commenti al Post:
tattoosupplies888
tattoosupplies888 il 07/09/10 alle 09:58 via WEB
GHD MK4 has transformed the humanity of whisker beauty and their hair straighteners give birth ghd iv styler get an addictive auxiliary for women everywhere. Therefore, it fares since ordinal surprise that the new IV Styler lives combined of the near sought after hair products ever. The 2008 GHD IV ghd hair straighteners Styler is the near came on hair's-breadth styling joyride on the market, and represents a important evolution of extraordinary the iconic brands of the 21st Century.
(Rispondi)
 
Gli Ospiti sono gli utenti non iscritti alla Community di Libero.
 
 

© Italiaonline S.p.A. 2024Direzione e coordinamento di Libero Acquisition S.á r.l.P. IVA 03970540963