Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'd like to create an Outlook email distribution list using email addresses
that are listed in one column of an Excel spreadsheet. What is the process? Thanks JasonLi |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() You could use this vba function which will produce a list of email address from a selection, and then dump it into B2, from which you can simply copy over to outlook. Sub emailList() Dim emailList As String Dim emailRng As Range Set emailRng = Application.Selection For Each c In emailRng.Cells emailList = c.Value & ";" & emailList Next Range("B2").Select ActiveCell.Value = emailList End Sub -- KellTainer ------------------------------------------------------------------------ KellTainer's Profile: http://www.excelforum.com/member.php...o&userid=34322 View this thread: http://www.excelforum.com/showthread...hreadid=544300 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "KellTainer" wrote: You could use this vba function which will produce a list of email address from a selection, and then dump it into B2, from which you can simply copy over to outlook. Sub emailList() Dim emailList As String Dim emailRng As Range Set emailRng = Application.Selection For Each c In emailRng.Cells emailList = c.Value & ";" & emailList Next Range("B2").Select ActiveCell.Value = emailList End Sub -- KellTainer ------------------------------------------------------------------------ KellTainer's Profile: http://www.excelforum.com/member.php...o&userid=34322 View this thread: http://www.excelforum.com/showthread...hreadid=544300 Thanks. Not being a programmer, I'll have to defer your recommendation to one of our programmers and hope that it will work. Thanks again, JasonLi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sending email from excel not working | Excel Discussion (Misc queries) | |||
Formatting email and web addresses in Excel | New Users to Excel | |||
How do i export excel data to outlook contacts | Excel Discussion (Misc queries) | |||
Export Excel Dates to Outlook Calendar? | Excel Worksheet Functions | |||
Excel Spreadsheet email attachment unable to open in Outlook Expr. | Excel Discussion (Misc queries) |