Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
formulas and email
Is the following scenario possible?
A1 = Smith A2 = John I want to take the first letter of cell A2 (J), combine it with everything from A1 (Smith) and then add @gmail.com. I'm going through some database stuff that is all in spreadsheets and emails are not given. Any thoughts would be appreciated. Jeff |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
formulas and email
"
Copy then EditPaste SpecialValuesOKEsc. Then F2ENTER to change to a real email address. If you have many to change to hyperlinks use David McRitchie's macro. Sub MakeHyperlinks() 'David McRitchie Dim Cell As Range For Each Cell In Intersect(Selection, _ Selection.SpecialCells(xlConstants, xlTextValues)) With Worksheets(1) .Hyperlinks.Add anchor:=Cell, _ Address:=Cell.Value, _ ScreenTip:=Cell.Value, _ TextToDisplay:=Cell.Value End With Next Cell End Sub Gord Dibben MS Excel MVP On Wed, 21 Nov 2007 11:43:38 -0800 (PST), Syb wrote: Is the following scenario possible? A1 = Smith A2 = John I want to take the first letter of cell A2 (J), combine it with everything from A1 (Smith) and then add @gmail.com. I'm going through some database stuff that is all in spreadsheets and emails are not given. Any thoughts would be appreciated. Jeff |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
formulas and email
Syb,
Try this: =HYPERLINK("mailto:" & LEFT(A1,1) & A2 & "@gmail",LEFT(A1,1) & A2 & "@gmail") I don't know if capital letters will affect things. You may have to adjust the formula to make letters all lower case. lookup the HYPERLINK() function in help for more info. HTH, Conan Kelly "Syb" wrote in message ... Is the following scenario possible? A1 = Smith A2 = John I want to take the first letter of cell A2 (J), combine it with everything from A1 (Smith) and then add @gmail.com. I'm going through some database stuff that is all in spreadsheets and emails are not given. Any thoughts would be appreciated. Jeff |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
formulas and email
On Nov 21, 3:19 pm, Gord Dibben <gorddibbATshawDOTca wrote:
" Copy then EditPaste SpecialValuesOKEsc. Then F2ENTER to change to a real email address. If you have many to change to hyperlinks use David McRitchie's macro. Sub MakeHyperlinks() 'David McRitchie Dim Cell As Range For Each Cell In Intersect(Selection, _ Selection.SpecialCells(xlConstants, xlTextValues)) With Worksheets(1) .Hyperlinks.Add anchor:=Cell, _ Address:=Cell.Value, _ ScreenTip:=Cell.Value, _ TextToDisplay:=Cell.Value End With Next Cell End Sub Gord Dibben MS Excel MVP On Wed, 21 Nov 2007 11:43:38 -0800 (PST), Syb wrote: Is the following scenario possible? A1 = Smith A2 = John I want to take the first letter of cell A2 (J), combine it with everything from A1 (Smith) and then add @gmail.com. I'm going through some database stuff that is all in spreadsheets and emails are not given. Any thoughts would be appreciated. Jeff great stuff! worked like a charm, thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
send wkbk as an email attachment with an email address copied from | Excel Discussion (Misc queries) | |||
can I copy a column of email addresses, paste into email address? | New Users to Excel | |||
Transfer Email addresses from spreadsheet to email address book | Excel Discussion (Misc queries) | |||
Email editor closes when forwarding Excel-embedded email | Setting up and Configuration of Excel | |||
working on excel document in email saved changes in email not in . | Excel Discussion (Misc queries) |