
If InStr(1, ctl.Text, "@") > 0 Then
ActiveSheet.Hyperlinks.Add Cells(r, c), ctl.Text
Else
Cells(r, c) = ctl.Text
End If |
ActiveSheet.Hyperlinks.Add Cells(r, c), "mailto:" & ctl.Text & "", , , ctl.Text |
If InStr(1, ctl.Text, "@") > 0 Then
ActiveSheet.Hyperlinks.Add Cells(r, c), "mailto:" & ctl.Text & "", , , ctl.Text
With Selection.Font
.Name = "Arial"
.Size = 8
End With
|
For Each ma In ActiveSheet.Hyperlinks
If InStr(1, ma.Address, "mailto:") > 0 Then
ma.Range.Font.Name = "Algerian"
End If
Next |
Questo per caricare i valori sul form. Va inserito prima di .Show
If Cells(r, 16) = "SI" Then
.CheckBox1 = True
Else
.CheckBox1 = False
End If
Questo per caricare i valori sul foglio. Va inserito prima di Unload me
If CheckBox1 = True Then
Cells(r, 16) = "SI"
Else
Cells(r, 16) = "NO"
End If di .Show |
