Created
May 20, 2017 07:00
-
-
Save thelaarn/fb5746b64b73e2674372eadd298d023d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub test() | |
For Each myCell In Columns("G").Cells.SpecialCells(xlCellTypeConstants) | |
If myCell.Value Like "?*@?*.?*" Then | |
ActiveSheet.Hyperlinks.Add Anchor:=myCell, _ | |
Address:="mailto:" & myCell.Value, TextToDisplay:=myCell.Value | |
End If | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment