Excel 2010 :: Data To Word Email Merge?

Feb 20, 2012

i have Office 2010 and an Excel sheet that I need to use as the source in a Word Email merge.

I am trying to avoid the user having to open Word & run the Merge manually by providing some code in Excel to perform the task & create the emails.

View 3 Replies


ADVERTISEMENT

Mail Merge From Excel Data To Word Template?

Jul 9, 2013

I am trying (and failing) to set up a mail merge with a Word document. I would like for the doc to take information entered in specific columns and display it in the right field. I've set up the field and the excel doc and went through the mail merge wizard's steps for setting it up but it doesn't seem to be doing what I want.I am attaching the doc and spreadsheet below.

MichaelFields TEST.Contract Entries.xlsxFields Test.Contract to Provide Legal Services.docx

View 2 Replies View Related

Excel 2010 :: VBA Loop Code To Automatically Email Range Of Cells And Email Addresses

Sep 16, 2013

I am using Excel 2010. I have been given a task at work that can save my team a lot of time if I can solve the problem. Every month, we have a spreadsheet with about 5000 rows that we have to email. In each row, there is a range that we have to email to a specific email. For example, I would have to copy and paste Range A2-R2 in the body of the email, and then email it to whatever email is in cell S2. I would then continue this for the next 5000 lines, making it a possibility that i will be sending 5000 emails manually.

I have been trying to come up with a solution through VBA that would automatically send these emails. My goal is to automatically send the Range A2-R2 to outlook email, then cell S2 into the "To" email address box, and then automatically send it. So far, i have successfully been able to send one row, but cannot figure out how to loop it for the remainder of the rows.

A couple other key points are that I have column headings as well (Range A1-R1). If possible, I want to be able to include the column headings in the email body as well. Example - first email would be range A1-R2. second email would be range A1-R1 and A3-R3, and so forth. The body of the email would also contain a standard script, such as "Please review the information below."

The goal here is to save everyone from having to send 5000+ manual emails. This would be a big boost for my team.

Code:

Sub Email()
Dim rng As Range
Dim OutApp As Object

[Code].....

View 5 Replies View Related

Excel 2010 :: Populate UserForm In Word With Data From Spreadsheet

Feb 19, 2013

I have a word template that gives a popup when started for the user to fill out. At present this is okay, but it is hard to maintain. So what I want is to be able to add all needed information in Excel - since our tools have the possibility to export my needed info to this.

I have a spreadsheet in Excel 2010 named 'Input TR'. This info I want in the popup macro in word. When choosing name from a dropdown menu - I want Excel to give me the choices instead of having it in the coded macro. After I have choosen the name - I want the product belonging for this name in the 'Product/Service:' dropdown menu, e.g Test 1 will give the value 1...5. (I will only be able to choose one of them)

Today - everything is coded in the word2010 macro, and thus difficult to maintain.

View 5 Replies View Related

How To Merge Email Addresses In Excel

Apr 2, 2013

Column A has rows of email addressess.

I need a macro to grab each email address and concatanate with a ',' in between so I can send the list to someone and they can use to email this group.

View 1 Replies View Related

Excel 2010 :: Get NEW Email On Basis Of Available Email

Apr 15, 2014

We know that professional emails have a fixed format. I have a list of people with their names and emails and there are some people for which emails are missing. I am pasting my sample data below. But first let me explain the meaning of columns.

Column A: Means full name of the person for which we have email id
Column B & C: just split of Available full name into first name and last name
Column D: Email id of the person with full name in column A
Column E: For the names in this column, we need to get email ids
Column H: Sample result

Now basis on the Full Name(Column A) and Email Id(Column D) can we get the email id for person in Column E.

Sheet4
A
B
C
D
E
F
G
H

1
Available Full Name
Available FirstName
Available LastName
Email for available full name
Actual Full name
Actual firstname
Actual lastname
Sample result

[Code] .........

View 2 Replies View Related

Excel 2010 :: Getting Outlook Warning (2010) While Sending Email Through Macro

Mar 25, 2014

I am trying to send bulk emails from my excel 2010 - however I am getting a POP UP. find the screen shot in the enclosed word document So every time a new mail is sent from excel we need to press the button allow Is there a way where I can turn off this warning.

View 6 Replies View Related

Mail Merge - Excel To Word Macro Edit?

May 3, 2012

This macro, enabled in Excel, is part of a chain of macros and will open Word, run the mail merge, save and close Excel. However, there is a macro in Word that I need to run but don't know how to activate it. Is there a code that I am missing that can be added to the end of the macro included?

VB:
Sub Mailmerge()
Dim wd As Object
Dim wdocSource As Object [code].....

View 6 Replies View Related

Excel 2013 :: Trying To Run Automated Mail Merge Via Word

Mar 20, 2014

The database is full of customer bookings and the email side is for sending automated emails regarding There Gift aid donation.

Im trying to run an Automated mail merge from excel via word. Basically im opening an a spreadsheet which has the same information as the Mail merge data source, its a refresh-able Query from microsoft query . I want to be able to click a button that opens up Word and produces an email mail merge and sends it to my outbox. So the emails can be viewed before the final send. I am using Office 2013.

Once i have this stage working i want to eventually move on to having a field on the main spread sheet automatically fill in saying Sent with a Time Stamp.I want to send either email or print a letter depending on what Address/Email information they have.There may also be multiple bookings from the same Customer e.g Restaurant and house booking, which will show separately, and i want to some how have a condition that it puts all the customers Bookings onto one mail merge letter, instead of sending 3 separate letters to one customer.

This is my code so far:

VB:
Sub OpenWord()
'Setting up Word Application Dim wdApp as word.application
On Error Resume Next

Dim wdApp As Word.Application
Dim wdDoc As Word.Document

[Code] .....

View 9 Replies View Related

Email Word Docs From Excel

Oct 17, 2008

I have an Excel (2003) spreadsheet which imports data from a text file, adjusts it and then sends it to a word document, then adjusts it again to show different data then sends that to a different word document and then closes word down.

What I am after is a Macro running in Excel to open up my email client (Outlook 2003), attach the two previously created word documents, add a subject, and the recipients email addresses and then send it on its merry way.

View 8 Replies View Related

Copying From Word To Email Via Excel VBA

Sep 26, 2011

I have code that is trying to open a word document and paste it into an email body. If I use plain old control v it works fine but using the method below, I loose my images and my formatting. Is there a way to use send keys here or some other method to preserve my formatting when getting the text to the body of the email?

Code:
Private Sub DREmail_Click()
Dim OutApp As Object
Dim OutMail As Object
Dim attachmentQ As String
Dim oWord As Object
Dim wdapp As Word.Application
Dim DRloc As String
Dim DRText As DataObject

[Code] ........

View 2 Replies View Related

Mailing Address Pasted From Internet To Excel And Then Mail Merge With Word?

Jul 26, 2013

I'm trying to use Word mail merge with Excel to create mail labels and letters for each person on the list. For example,

Johnson, Michael
7391 Wilson Street
Van Nuys, CA 91405

I want to create a mailing label for this person. If possible, I'd like to make the top line of the address "Dr. Michael Johnson," however the format that I'm copying from is last name, first name. And I also want to want to create a letter that starts with "Dear Dr. Last name," such as "Dear Dr. Johnson." This is the website that I want to copy the addresses from:

Doctors in Los Angeles, CA | Primary Care Physicians and Specialists

I have done my homework, but I don't know how to properly paste the addresses into Excel and then use Word to create the labels and letter. I have tried many ways, but I have been unsuccessful.

View 1 Replies View Related

Automatically Merge Data From Userform Into A Word Doc

Aug 10, 2009

I have created an Excel spreadsheet that collects info from a userform; we are using this as a issue log.

However, at the same time, upon completion of the log, the engineer then needs to fill out the essentially the same information in a Word form for sending off to the customer. I was thinking that perhaps this could be done by using a mail merge but from past experience this generally isn't very user friendly or quick.

Is it possible to automate this somehow using VBA such that when Enter is clicked on the form, not only does it fill in the next available line in the log spreadsheet but it also opens Word and populates the required fields with this same info?

View 9 Replies View Related

Excel 2010 :: How To Merge Big Dataset That Is Split In Half

Mar 9, 2014

I am running 2 audits on aspects of patient care. The first audit records a unique number that identifies the patient, and then a series of answers on demographics, and other stuff.

The second audit also records the unique number, and collects some other data on the particular patient at a later point in time (medication usage, levels of pain etc).

So in theory both audits will collect different information on the same patients. In practice, some patients will be missed and there won't be matching data sets. The order of collection won't be the same either, ie Audit 1 might be in the order of Patient 1,2,3,4 etc but Audit 2 might be patient 2,4,1,3

For various reasons these two data collection tools are not linked, and I end up with a spreadsheet for audit 1 and a spreadsheet for audit 2.

I need to merge these so that I can see all of the data for a particular patient at a glance, and where the gaps are, and apply some statistics to it etc. I could sort both lists by the unique audit number so that they are in order, and then copy blocks of data over from one sheet to the next, but there will be records missing, i might make a mistake with the alignment, and I'm sure there must be a better way.

I am using Excel 2010. Each audit case has about 50 columns of data for Audit 1 and 30 columns for Audit 2 . There will be ~20 new records (Rows) created each week that I want to progressively merge.

View 1 Replies View Related

Excel 2010 :: Merge Conditional Formatting On One Cell At A Time

Aug 1, 2014

I am using the following formula on Excel 2010 in conditional formatting

=$D5=VLOOKUP($B5,'Approved Master OLD'!$B:$BC,3,0)=FALSE

However I am trying to apply this to a whole column but the numbers are not (D5,B5) moving down (to D6,B6), When I use the format painter it is taking too long as I can only merge conditional formatting on one cell at a time and I have 30 colums and 390 rows to apply this formatting to.

View 1 Replies View Related

Excel 2010 :: How To Set To Email From Outlook

Jan 30, 2014

I run excel 2010 on a windows 8.1 machine. In excel I have email address that I need to mail from however when I click the hyperlink it automatically directs me to Hotmail. Is there a way to change that to automatically load Outlook instead?

View 7 Replies View Related

Excel 2010 :: Select Email Font In VBA

Oct 31, 2011

I can create emails with Outlook in VBA (Excel 2010), but can't find how to select the font, font size and font colour I want.

View 9 Replies View Related

Excel 2010 :: Email Each Tab To Distribution List

Nov 10, 2011

I have a Macro in Excel 2010 which emails each tab to a distribution list.

However Outlook asks for permission each time to send the email, is there a way to disable this ?, or get Outlook to grant permission for a set amount of time ?

View 2 Replies View Related

Excel 2010 :: Use Input Box To Enter Email Address?

Nov 3, 2011

I have a macro that will email a link of the worksheet.

the problem is I may have different email addresses to send it to. I want to be able to have an input box come up, and the person to enter in an email address, click ok and have the macro continue to email.

Sub Make_Outlook_Mail_With_File_Link()
'Working in Office 2000-2010
Dim OutApp As Object
Dim OutMail As Object
Dim StrBody As String
If ActiveWorkbook.Path "" Then
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)

[code].....

View 2 Replies View Related

Excel 2010 :: VBA Error When File Opened From Email?

Aug 30, 2012

I've got a file that works fine on my computer. When I email it to anyone with 2010 and they open it from their email account (Outlook 2010), the file automatically opens up in 'Protected Mode'. If the user selects "Enable Editing" the user receives 'Run Time error 91: Object variable or with block variable not set'.

If the user closes out the vba error and saves the file to their computer and reopens the file, it works fine.

BTW, it is not a complex macro, it is error out at

ActiveWorkbook.Sheets("Worksheet").Select

View 1 Replies View Related

Excel 2010 :: Auto Email Attachment Corrupt

Jan 7, 2013

It copies one of the work books, Saves it and then emails this as an attachement to a few people.

All users are on Excel 2010, however the file originally was created in Excel 2003. The File Extension Was .xls as was the attachment.

First time I sent the email this year it came through corrupt. No changes had taken place in the workbooks or the code.

I have now updated the spreadsheet and saved it as a .xlsm

I have also updated the code so the attachments are .xlsx

The email attachments are always corrupt.

Code:
Sub copy2()
Application.ScreenUpdating = False
Dim fname As String 'filename
Sheets(Array("To Order", "WO To Chase", "PO To Chase", "Contact", "WO Report")).Copy
fname = Year(Date) & " " & Month(Date) & Day(Date) & " Chase & Order" 'filename!!
ActiveWorkbook.SaveAs FileName:= _

[code]...

where the corruption might come from? Its not via the email as if I go to the saved file its corrupt as well.

View 7 Replies View Related

Excel 2010 :: Pulling Email From One Spreadsheet To Corresponding Customer On Another

Oct 18, 2013

I am using MS Excel 2010.

I have a workbook with 2 separate spreadsheets.

Spreadsheet 1: GOLD
3 Columns:

A1 Number, B1 Name, C1 Acct Bal D1 (Empty)

Spreadsheet 2: Email
2 Columns

A1 Number, B1 Email

I would like to pull the email address for the corresponding Number From the Email sheet to the GOLD spreadsheet and have it end up in Column D

There are more rows in Sheet 2 than 1. I have already narrowed down the ones I need in Sheet 1. (Sheet 1 has 150 rows, Sheet 2 has 7315)

View 1 Replies View Related

Excel 2010 :: Send Sheet To Outlook Email

Mar 7, 2014

I have an excel workbook (Excel 2010) consisting on 30 sheets, I would like to add a command button to one (1) of the sheets that would attach just that sheet and not the whole workbook to my Outlook 2010 email, is this possible. What would the code look like.

View 1 Replies View Related

Excel 2010 :: How To Find A Word In A Cell

Sep 13, 2013

What is the formula for Excel 2010 if I have a text in a cell:

CM/62 Charge MTS/7/5/2013 000
CM/72 Non-Cash Adj MSC/7/3/2013 A15
CM/1542 Charge ADM/6/24/2013 S28
CM/63610 Charge MIS/7/5/2013
CM/527 Non-Cash Adj MSC/7/8/2013 S
CM/1542 Charge ADM/6/24/2013 S2
CM/5623 Charge LTE/7/24/2013 000
CM/1610 Rentup MAF/7/1/2013 S21

I need to get the result for word: MTS, MSC, ADM, LTE, MAF

View 6 Replies View Related

Excel 2010 :: Email Automatically Loads Outlook Mail?

Jan 24, 2012

what is the proper terminology for the Outlook "Thing" that opens up in excel (shown below)? Is it simply a toolbar? Add-in?

Second question, I have a excel file that automatically loads the outlook "Toolbar" each time it is opened.

The file was made in 2010 and password protected and locked, sent to a worker who edited the appropriate fields and saved, and then they sent the file back to me (2003 Format). Now this file automatically loads the outlook toolbar. I am trying to trouble shoot so what would cause this behavior?

View 4 Replies View Related

Excel 2010 :: How To Convert Sheet To PDF And Attach To Outlook Email

Jan 30, 2012

I am looking for a macro that will convert the active sheet in an Excel 2010 file to a PDF, attach the PDF to an Outlook 2010 email message, and fill in the subject line and recipient address which are the same each time.

View 3 Replies View Related

Excel 2010 :: Send Workbook In Email With Subject And Message?

Nov 29, 2012

I did this 10 years ago so I admit I am rusty at this but here are what I had in my notes that worked with Excel XP. I am currently using Excel 2010

With ThisWorkbook
.HasRoutingSlip = True
With .RoutingSlip

[Code]....

The last line will send the workbook but I need a Subject and Message to go with it.

View 9 Replies View Related

Excel 2010 :: VBA Save AS (word Document) Not Working

Nov 8, 2012

I have a long bit of code that at one point saves a Word document and then saves it again with a new name and the old (legacy) .doc extension.

This all works find when the user is running Office 2007. However, it errors out for using Office 2010. The reference libraries are all correct (as far as I know).

Code:

Dim myDoc As Word.Document
Dim saveAsName as String

saveAsName = "some text here" + ".doc"

myDoc.Save

myDoc.SaveAs fileName:=(saveAsName), FileFormat:=wdFormatDocument

View 9 Replies View Related

Passing Word Variable To Excel In Office 2010

Apr 2, 2013

I'm trying to pass a variable from Word to Excel. Basically I have a Word document with a plain text content control in it. I'll have users populate this field. I know how to create a reference to that content contol in Word VBA that'll tell me what's in that content control (eg.

Code:
MyWordVar = ActiveDocument.ContentControls(1).Range.Text
).

What I can't figure out is how to pass the value of "MyWordVar" to a variable in Excel.

View 4 Replies View Related

Excel 2010 :: Comparison For Similar Email Addresses Separate Columns

Jun 21, 2014

Have an Excel 2010 spreadsheet with 902 email addresses in one column, and 927 email addresses in other column, sorted in alphabetical order.

Overview: Organization database has 902 Members (some have 2 email addresses subscribed to listserv) and Organizational Listserv which has all 927 (Difference is numbers are some members have 2 email addresses subscribed) BUT 902 of emails should be the same

Objective to compare Listserv Members 927 with Database Members 902. I am trying to isolate the email addresses which do NOT exist in Listserv Column, or who do not exist in Database Column for Audit purposes. All Members from the Database column should be subscribed or entered into the Listserv column.

If it's a perfect world the 902 email addresses will all be exactly the same as 902 out of the 927 Listserv email addresses.
Trying to highlight or sort and put identical email addresses on same line or using Conditionally formatting? Highlight Cell Rules/Duplicate cell rules Even when same email addresses are on the same row conditional formatting does not recognize them.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved