Compiling an email list from excel database

hang123

New Member
Joined
Aug 14, 2007
Messages
1
Hi everyone,

I have a small database with less than 100 records. In one feild i have email address. I need to send out a a group mail to all these people- but not through outlook... I use hotmail or gmail.

So what I need is a way of getting all these fields but into one field or list, with each email address seperated by a comma so I can just copy and paste the email address into hotmail all at one.

Could anyone please help out?? :biggrin:

Many thanks :biggrin:
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

golfbum71

Board Regular
Joined
Aug 6, 2007
Messages
123
Putting Lines Together

hang123,

You'll have to change this a bit, but this might work:

Code:
Sub CopyEmails()

Dim copyLine As String

'Change the A to whichever column the email address is in below
For x = Range("A65000").End(xlUp).Row To 2 Step - 1 'Assuming the first line is for headers...
    copyLine = Range("A" & x) & "," & copyLine
Next x

'Change the B to whatever is a free column.
Range("B1") = copyLine

End Sub

You may have to go into the cell formula to copy all the text...but it should work... If you just copy the cell itself, I believe there is 256 character limit that will bug the heck out of you...as it did me.

Good luck. Hope it helps,
Geoff
 
Upvote 0

Forum statistics

Threads
1,190,998
Messages
5,984,072
Members
439,872
Latest member
noaman79

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top